Applies to
Description
Specifies the index of the page in the specified PDF document that will be imported to a given document.
Data type
Long.
Usage
In scripts
This example shows how to import the page at index 1 into a PDF document:
PDFdocument lpdf_doc PDFpage lpdf_page PDFimportcontent lpdf_import,lpdf_importclone lpdf_doc = create PDFdocument lpdf_page = create PDFpage lpdf_import = create pdfimportcontent lpdf_import.filename = "D:\import\noannots.pdf" lpdf_import.sourceindex = 1 lpdf_import.setsize( 500,500) //lpdf_importclone = lpdf_import.clone( ) lpdf_page.addcontent( lpdf_import) lpdf_doc.addpage( lpdf_page) lpdf_doc.save( "D:\save\pdfimportcontent.pdf")