Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
PDFKit.Open
Opens a PDF and returns a PDF Reference value.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PDFKit | 2.2 | Yes | No | No | Yes, macOS only | Yes |
MBS( "PDFKit.Open"; PDF ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| A container value with the PDF content from a media field. Or a text with an URL. |
Result
Returns a number for the PDF. Use PDFKit.Release later to free the memory.
Description
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.
Examples
Open the PDF from the container value:
MBS("PDFKit.Open"; myTable::myMediaField)
See also
- PDFKit.allowsCopying
- PDFKit.allowsPrinting
- PDFKit.GetPDFPagesPDF
- PDFKit.GetPDFPagesPDFRef
- PDFKit.isEncrypted
- PDFKit.NewPDFDocument
- PDFKit.OpenURL
- PDFKit.SetPDFPageRotation
- PDFKit.Watermark
- PDFKit.WriteToPath
Blog Entries
Created 18th August 2014, last changed 13th May 2019
PDFKit.NewPDFDocument - PDFKit.OpenContainer
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins