Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1    Statistic  


Creates a new PDF Document with the given PDF pages.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PDFKit 2.2 Yes No Yes, macOS only No Yes
MBS( "PDFKit.GetPDFPagesPDF"; PDF; Indexes { ; Filename; DontRenderPreview } )   More


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.
Indexes The index of the page. From zero to PDFKit.GetPDFPageCount-1. You can use several numbers separated with comma and ranges with minus. "0-2,4,6-9,19"
Filename Optional
Optionally, the file name to use for the container value.
DontRenderPreview Optional
Pass 1 to not create a JPEG with preview of first page as part of the container.


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


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


Extract a few pages into a new PDF

MBS( "PDFKit.GetPDFPagesPDF"; $ref; "1,2,5,6"; "newpdf.pdf" )

See also

Blog Entries

Created 18th August 2014, last changed 27th October 2015

PDFKit.GetPDFPageValue   -   PDFKit.GetPDFPagesPDFRef

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins