| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
PDFKit.OpenPath
Opens a PDF from a file path and returns a PDF Reference value.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| PDFKit | 2.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "PDFKit.OpenPath"; Path { ; Password } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Path | A text with a file path. | ||
| Password | The password to use for unlocking the PDF. | Optional Added in version 16.5. |
Result
Returns a number for the PDF.
Description
Opens a PDF from a file path 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 and PDFKit.OpenURL.
PDF Document reference numbers are starting at 30000 and counting up for each new document.
Use PDFKit.Release later to free the memory.
Examples
Open the PDF with the given path:
MBS("PDFKit.OpenPath"; "/data/test.pdf")
See also
Release notes
- Version 16.5
- Added password parameter for PDFKit.Open, PDFKit.OpenContainer, PDFKit.OpenPath and PDFKit.OpenURL function.
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 3th November 2026
MarkDown version: PDFKitOpenPath.md