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.GetPDFPageValue
Queries a page property.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PDFKit | 5.0 | Yes | No | No | Yes, macOS only | Yes |
MBS( "PDFKit.GetPDFPageValue"; PDF; index; Selector; Parameter { ; DontRenderPreview } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| A PDF reference number from PDFKit.Open. | $ref | ||
| index | The index of the page. From zero to PDFKit.GetPDFPageCount-1. | 1 | |
| Selector | Which value to pick. | "label" | |
| Parameter | For dataRepresentation the filename. For width/height/x/y the index of the box: 0 = media box, 1 = crop box, 2 = bleed box, 3 = trim box, 4 = art box. | ||
| DontRenderPreview | Optional for dataRepresentation. Pass 1 to not create a JPEG with preview of first page as part of the container. | 0 | Optional |
Result
Returns OK or error.
Description
Queries a page property.| label | The page label. Usually "1" for the first page, "2" for the second, etc. |
| rotation | Rotation on a page. |
| numberOfCharacters | Number of characters on the page (including linefeeds and spaces inserted). |
| string | String (with linefeeds and in some cases spaces inserted) representing the text on the page. |
| attributedString | Same as string, but with formatting. |
| displaysAnnotations | Whether to display annotations if page is drawn. |
| dataRepresentation | The page as a PDF document. Pass as parameter the file name to use for the container value. |
| width | The width of page. |
| height | The height of page. |
| X | The x offset of page bounds. |
| Y | The y offset of page bounds. |
For X/Y/Width/Height you can specify which box to use in the parameter.
See also
- PDFKit.GetPDFPageCount
- PDFKit.GetPDFPageImage
- PDFKit.GetPDFPagePDF
- PDFKit.GetPDFPagePDFRef
- PDFKit.GetPDFPagesPDF
- PDFKit.GetPDFPagesPDFRef
- PDFKit.GetPDFPageText
- PDFKit.Open
Blog Entries
Created 16th February 2015, last changed 9th March 2015
PDFKit.GetPDFPageText - PDFKit.GetPDFPagesPDF
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins