Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

PDFKit.GetPDFPagePDF

Creates a new PDF Document with the given PDF page.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PDFKit 2.2 Yes No Yes, macOS only No No

MBS( "PDFKit.GetPDFPagePDF"; PDF; index { ; Filename; DontRenderPreview } )

Parameters

Parameter Description Example value
PDF A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.
index The index of the page. From zero to PDFKit.GetPDFPageCount-1. 1
Filename Optional
Optionally, the file name to use for the container value.
"output.pdf"
DontRenderPreview Optional
Pass 1 to not create a JPEG with preview of first page as part of the container.
0

Result

Returns a container with a PDF document. The plugin adds a JPEG picture for preview as well as a file name. You can store it in a media field.

Description

Creates a new PDF Document with the given PDF page.
Filename is optional.

Examples

Extract page 6 into a new PDF:

MBS( "PDFKit.GetPDFPagePDF"; $ref; 5; "newpdf.pdf" )

See also

Example Databases


PDFKit.GetPDFPageImage   -   PDFKit.GetPDFPagePDFRef

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins