Print Page | Close Window

Delete pages from pdf file

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=1376
Printed Date: 21 May 25 at 12:19PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Delete pages from pdf file
Posted By: SlyJay
Subject: Delete pages from pdf file
Date Posted: 20 Mar 10 at 10:02AM
Hi everybody,
I'm evaluating the product I'm trying to perform a simple activity, but I seem to be not really good at this :). I'm using VB.net and the library as an ActiveX.
 
I'm trying to delete a page from a a pdf file but DeletePages allways returns a 0.  Here is the code:
 
If qp.Unlocked() = 1 Then
    If qp.LoadFromFile(DestinationFile) = 1 Then

        If qp.DeletePages(1, 1) = 1 Then

          'ok
        End If
     End If

End If

 
I'm missing something but really can't figure out.
 
Thanks in advance
 
Sly



Replies:
Posted By: SlyJay
Date Posted: 20 Mar 10 at 4:12PM
ok soleved I needed to save the file..... ;)



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