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

DynaPDF.SetFloatPrecision

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

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 6.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetFloatPrecision"; NumTextDecDigits; NumVectDecDigits )   More

Parameters

Parameter Description Example
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.

This function checks for a license.

Created 23th November 2016, last changed 23th November 2016


DynaPDF.SetFillColorValue - DynaPDF.SetFont