Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


The function returns the user unit of the current open page.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.4 Yes Yes Yes Yes Yes
MBS( "DynaPDF.GetUserUnit"; PDF )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf


Returns OK on success or error message.


The function returns the user unit of the current open page.
A user unit acts like a scaling factor. The page format and all page coordinates are multiplied with this factor in a viewer application. The default size of a PDF unit is 1/72 inch and the default user unit is 1.0. User units can be useful if the page format would be too large to be expressed in standard PDF units. The largest page format in PDF is limited to 14400 units or 200 inches. This limit can be extended with the user unit.
The largest value that is supported is 75.0 which results in a maximum page format of 15,000 x 15,000 inches or 1,800,000 units.

See also GetUserUnit function in DynaPDF manual.

See also

Blog Entries

Created 18th August 2014, last changed 18th August 2014

DynaPDF.GetUseVisibleCoords   -   DynaPDF.GetUsesTransparency

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins