|
|
|
|
|
<pdfDocument variable>.Extract (Function) In french: <Variable pdfDocument>.Extrait Creates a new PDF document from individual pages extracted from an existing PDF file. MySourcePDF is pdfDocument
MyTargetPDF is pdfDocument
MySourcePDF = "C:\Temp\My_source_PDF.pdf"
MyTargetPDF = MySourcePDF.Extract("3,10,15-16,36")
IF ErrorOccurred THEN
Error(ErrorInfo(errFullDetails))
RETURN
END
MyTargetPDF.Save("C:\Temp\My_target_PDF.pdf")
Syntax
<Result> = <Source PDF file>.Extracts(<Pages to extract> [, <Password>])
<Result>: pdfDocument variable pdfDocument variable corresponding to the new PDF file that contains the extracted page(s). <Source PDF file>: pdfDocument variable Name of the pdfDocument variable corresponding to the PDF file from which the page(s) are to be extracted. <Pages to extract>: Character string List of pages to extract. The individual pages to be extracted must be separated by a comma (","). To specify a set of pages, the first and last pages of the set must be separated by a hyphen ("-"). For example: "1-10, 15-18, 35" <Password>: Optional character string Password of the PDF document.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|