SourceIndex
property for PowerScript objects
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:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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 oannots.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:savepdfimportcontent.pdf") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest