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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.SetFloatPrecision

The function changes the output precision of text and vector coordinates.

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

MBS( "DynaPDF.SetFloatPrecision"; NumTextDecDigits; NumVectDecDigits )

Parameters

Parameter Description Example value
NumTextDecDigits Number decimal digits for text object. 5
NumVectDecDigits Number of decimal digits for vector objects. 5

Result

Returns OK or error.

Description

The function changes the output precision of text and vector coordinates.
The default precision for text and vector graphics is two decimal digits. This corresponds to 7200 DPI. The output precision of bezier curves is one higher as for vector graphics. The maximum output precision is 5 decimal digits.
Note that higher values increase the resulting file size.

See also SetFloatPrecision function in DynaPDF manual.

DynaPDF.SetFillColor   -   DynaPDF.SetFont

Feedback: Report problem or ask question.




Links
MBS FileMaker blog