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
Sets or changes the bounding box of a page.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
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" |
Left | The left coordinate of the rectangle. | 0 |
Bottom | The bottom coordinate of the page. | 0 |
Right | The right coordinate of the page. | 595 |
Top | The top coordinate of the page. | 842 |
Returns OK or error.
See also SetPageBBox function in DynaPDF manual.
Created 4th May 2018, last changed 4th May 2018
DynaPDF.SetPDFVersion - DynaPDF.SetPageBreakExpression
Feedback: Report problem or ask question.