Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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