Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.SetUseVisibleCoords

Whether DynaPDF should consider the crop box to calculate to position of an object.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetUseVisibleCoords"; PDF; Value )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Value The new setting. Can be 1 or 0. 1

Result

Returns OK or error.

Description

Whether DynaPDF should consider the crop box to calculate to position of an object.
The crop box crops a page, but the paper format (media box) is left unchanged. To move the coordinates into the visible area, set the property to true. Coordinates can then be used as if no crop box were defined. The bounding boxes are described in detail under DynaPDF.SetBBox.
Default value = 0

See also SetUseVisibleCoords function in DynaPDF manual.

Examples

Enable it:

Set Variable [ $r; Value: MBS( "DynaPDF.SetUseVisibleCoords"; $PDF; 1 ) ]

See also

Example Databases

This function checks for a license.

Created 6th February 2015, last changed 11st August 2020


DynaPDF.SetUseTransparency - DynaPDF.SetUserUnit