Print Page | Close Window

DAOpenFile and DeletePages not delete

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3512
Printed Date: 29 Mar 24 at 1:52PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: DAOpenFile and DeletePages not delete
Posted By: maratovich
Subject: DAOpenFile and DeletePages not delete
Date Posted: 09 Oct 17 at 7:02PM
I need to delete the pages from the file.
The file is very large, so I open it with - DAOpenFile
To delete a page, I use - DeletePages
But I always get Return values = 0
Is there a working example?



Replies:
Posted By: Ingo
Date Posted: 09 Oct 17 at 7:48PM
Hi Mara,

you should never mix DA- and non-DA-functions.
DeletePages is a non-DA-function - DAOpenFile and DeletePages will never work together.
What you can use is DACapturePage:
http://www.debenu.com/docs/pdf_library_reference/DACapturePage.php

All other help you'll need you can get starting from here:
http://www.quickpdf.org/

Cheers and welcome her,
Ingo



-------------
Cheers,
Ingo



Posted By: maratovich
Date Posted: 09 Oct 17 at 8:21PM
Hi Ingo!
Thank you ! It works. Smile




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk