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: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Opens a PDF and returns a PDF Reference value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PDFKit 2.2 Yes No Yes, macOS only No Yes
MBS( "PDFKit.Open"; PDF )   More


Parameter Description Example value
PDF A container value with the PDF content from a media field. Or a text with an URL.


Returns a number for the PDF. Use PDFKit.Release later to free the memory.


Opens a PDF and returns a PDF Reference value.
This value can be used in other PDFKit calls to work on the same PDF.
See also PDFKit.OpenContainer, PDFKit.OpenPath and PDFKit.OpenURL.
PDF Document reference numbers are starting at 30000 and counting up for each new document.

If you need to open a PDF file in the PDF Viewer, please use Files.LaunchFile with the path to the PDF file instead.


Open the PDF from the container value:

MBS("PDFKit.Open"; myTable::myMediaField)

See also

Blog Entries

Created 18th August 2014, last changed 13th May 2019

PDFKit.NewPDFDocument   -   PDFKit.OpenContainer

Feedback: Report problem or ask question.

MBS Xojo Plugins