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.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sets a specific bounding box of the current open PDF page.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
box | Which box to set. Can be Art, Bleed, Crop, Trim or Media. | "Media" |
left | The lower left x value. | 0 |
top | The lower left y. | 0 |
right | The upper right x. | 595 |
bottom | The upper right y. | 895 |
Returns OK or error.
See also SetBBox function in DynaPDF manual.
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014