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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets or changes a bounding box of a template.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Handle | Template handle. | $template |
Box | Which box to use. You can pass MediaBox, CropBox, ArtBox, BleedBox or TrimBox. |
"MediaBox" |
Left | The left of the bounding box. | 0 |
Top | The top of the bounding box. | 0 |
Right | The right of the bounding box. | 595 |
Bottom | The bottom of the bounding box. | 842 |
Returns OK or error.
See also SetTemplBBox function in DynaPDF manual.
This function checks for a license.
Created 14th June 2022, last changed 14th June 2022