Applies to
Description
Specifies the name of the file from whose content will be imported into the PDF document.
Data type
String.
Usage
In scripts
This example shows how to import a file 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")