Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 330

Previous Page 329   Index   Next Page 331

Function Reference
Page 330 of 750
LBOOL pdfGetBBox(
const PPDF* IPDF,
// Instance pointer
TPageBoundary Boundary,
// see below
struct TPDFRect ADDR BBox) // Bounding box
typedef enum
// Art box
pbBleedBox, // Bleed box
// Crop box
// Trim box
// Media box
struct TPDFRect
double Left;
double Bottom;
double Right;
double Top;
The function returns a bounding box of a PDF page. A PDF page may be prepared either for a
finished medium, such as a sheet of paper, or as part of a prepress process in which the content of
the page is placed on an intermediate medium, such as film or an imposed reproduction plate.
In the latter case, it is important to distinguish between the intermediate page and the finished page.
The intermediate page may often include additional production-related content, such as bleeds or
printer marks that falls outside the boundaries of the finished page. To handle such cases, a PDF
page can define as many as five separate boundaries to control various aspects of the imaging
The function requires an open page because each page can use its own boundaries.
Return values:
If the function succeeds the return value is 1 and the structure BBox is filled with values. If the
function fails the return value is 0.

Previous topic: GetBarcodeDict

Next topic: GetBidiMode