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  

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

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


DynaPDF.SetUseTransparency - DynaPDF.SetUserUnit

Feedback: Report problem or ask question.