Mac OS X
Components Crossplatform Mac & Win Server (Not) Client Old Guides Examples
New in version: 7.0 7.1 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 Statistic
Queries bound box values of current page.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|The PDF reference returned from DynaPDF.New.|
|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.
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.
DescriptionQueries 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:
Feedback: Report problem or ask question.
MBS Xojo PDF Plugins