|
|
|
|
<pdfDocument variable>.ExtractPage (Function) In french: <Variable pdfDocument>.ExtraitPage Extracts a page from a PDF file in a variable of type Image. Versions 25 and later Versions 26 and later
MyPDF is pdfDocument = PDFOpen("test.pdf")
MyImage is Image = MyPDF.ExtractPage(3)
Syntax
<Result> = <PDF document>.ExtractPage(<Page number> [, <Width> [, <Height> [, <Password>]]])
<Result>: Image (image variable) Image variable that contains the image of the extracted page. The returned image is a raster image.Remark: If the PDF or the page does not exist, the Image variable returned will be invalid. The ErrorOccurred variable will be set to True. <PDF document>: pdfDocument variable Name of the pdfDocument variable that corresponds to the PDF document to be used. <Page number>: Integer Number of the page to be extracted. <Width>: Optional integer Width at which the page is to be rasterized. If this parameter is not specified (or is set to 0), the height and width will be calculated from the page size (in millimeters), using a DPI of 300. <Height>: Optional integer Height at which the page is to be rasterized. If this parameter is not specified (or is set to 0), the height and width will be calculated from the page size (in millimeters), using a DPI of 300. <Password>: Optional character string Password of the PDF document. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|