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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Queries bound box values of current page.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 6.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
box | Which box to set. Can be Art, Bleed, Crop, Trim or Media. | "Media" | |
Selector | What value to return. Can be Left, Right, Bottom or Top to get the coordinates. Can be Width and Height to get the size of page in points. Can be Exists to check if the given page bound exists. Returns 1 or 0. |
"Width" | |
Unit | The unit to return values with. Default is points (72 dpi raster). You can pass "point", "cm" or "mm". If an user unit is used, we include it int he calculation for meters. |
"point" | Optional |
Returns value or error.
See also GetBBox function in DynaPDF manual.
Query with of crop box in millimeter:
MBS( "DynaPDF.GetBBox"; $pdf; "crop"; "Width"; "mm")
Created 19th July 2016, last changed 31st July 2016
DynaPDF.GetAscent - DynaPDF.GetBookmark
Feedback: Report problem or ask question.