Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  


Queries bound box values of current page.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 6.4 Yes Yes Yes Yes Yes

MBS( "DynaPDF.GetBBox"; PDF; box; Selector { ; Unit } )


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
box Which box to set. Can be Art, Bleed, Crop, Trim or Media. "Media"
Selector What value to return.
Can be Left, Right, Bottom or Top to get the coordinates.
Can be Width and Height to get the size of page in points.
Can be Exists to check if the given page bound exists. Returns 1 or 0.
Unit Optional
The unit to return values with.
Default is points (72 dpi raster).
You can pass "point", "cm" or "mm".
If an user unit is used, we include it int he calculation for meters.


Returns value or error.


Queries bound box values of current page.
This 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 process.

The function requires an open page because each page can use its own boundaries. Please use DynaPDF.EditPage to edit a page.

See also GetBBox function in DynaPDF manual.


Query with of crop box in millimeter:

MBS( "DynaPDF.GetBBox"; $pdf; "crop"; "Width"; "mm")

See also

Example Databases

DynaPDF.GetAscent   -   DynaPDF.GetBookmark

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos