Image Viewer CP ActiveX Control

PDFEditDeletePage

 

Delete Page of PDF file without displaying or decoding any of the images.
 

Public Function PDFEditDeletePage( _
   ByVal strSourceFile  As String, _
   ByVal iPage As Integer)
 As Bool

 

Parameter

strSourceFile
The source of PDF File.

iPage
Specifies the page to deleted. The first page is 0.


Return Value
Return true if successful, otherwise return false.


Example

   

Visual Basic Syntax
ImageViewer1.PDFEditDeletePage "c:\sourcepdf.pdf", 1