Image Viewer CP ActiveX Control

PDFEditAddPage 

 

Add the PDF File to specific position of existing PDF File without displaying or decoding any of the images.
 

Public Function PDFEditAddPage( _
   ByVal strSourceFile  As String, _
   ByVal iPageInsert As Integer, _
   ByVal strAppendFile As String, _
   ByVal strOutputFile As String)
 As Bool

 

Parameter

strSourceFile
The source of PDF File.

iPageInsert
Position to insert the strAppendFile at.

strAppendFile
The append from PDF file.

strOuputFile
The Output PDF File.


Return Value
Return true if successful, otherwise return false.



Example

   

Visual Basic Syntax
ImageViewer1.PDFEditAddPage "c:\sourcepdf.pdf", 1, "c:\pdf2.pdf", "c:\output.pdf"