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
DynaPDF.GetPageBBox
Queries page size for a PDF page.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.0 | Yes | Yes | Yes | Yes | Yes |
(old name: DynaPDF.GetPageBounds)
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| The PDF reference returned from DynaPDF.New. | |||
| PageIndex | The page index in range from 1 to DynaPDF.GetPageCount. | 1 | |
| Box | Optional, which box to use. Default is Mediabox. You can pass MediaBox, CropBox, ArtBox, BleedBox or TrimBox. | "MediaBox" | Optional |
Result
Returns rectangle as string with four numbers for left, top, right and bottom.
Description
Queries page size for a PDF page.Please note that we have DynaPDF.GetPageBBox for the current working PDF and the DynaPDF.GetImportPageBounds for the current open import PDF.
Examples
Queries crop size of page 5 from current working PDF:
$r = MBS( "DynaPDF.GetPageBBox"; $PDF; 5; "CropBox" )
See also
- DynaPDF.GetBBox
- DynaPDF.GetImportPageBounds
- DynaPDF.GetPageCoords
- DynaPDF.GetPageCount
- DynaPDF.GetPageLayout
- DynaPDF.GetPageNum
- DynaPDF.GetPageWidth
- DynaPDF.New
- DynaPDF.SetPageBBox
- DynaPDF.SetPageMode
Created 18th August 2014, last changed 4th May 2018
DynaPDF.GetPageAnnotation - DynaPDF.GetPageBreakExpression
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins