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.GetPDFPagePDF
Creates a new PDF Document with the given PDF page.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PDFKit | 2.2 | Yes | No | No | Yes, macOS only | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| 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 | Optionally, the file name to use for the container value. | "output.pdf" | Optional |
| DontRenderPreview | Pass 1 to not create a JPEG with preview of first page as part of the container. | 0 | Optional |
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
- PDFKit.GetPDFPageCount
- PDFKit.GetPDFPageImage
- PDFKit.GetPDFPagePDFRef
- PDFKit.GetPDFPagesPDF
- PDFKit.GetPDFPagesPDFRef
- PDFKit.GetPDFPageText
- PDFKit.GetPDFPageValue
- PDFKit.Open
- PDFKit.SetCurrentFilter
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 5.1pr1
- Compressing PDFs with PDFKit in FileMaker
- MBS Filemaker Plugin, version 2.2pr4
Created 18th August 2014, last changed 9th March 2015
PDFKit.GetPDFPageImage - PDFKit.GetPDFPagePDFRef
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins