SetPrecision
Measurement and coordinate units
Description
Use this function to set the precision of numerical values stored in the PDF document. Setting the precision to a lower number will reduce the size of the generated file, while a higher precision will result in a larger file, although objects and graphics will be more accurately positioned. The default precision is 4.
Syntax
Delphi
function TQuickPDF0813.SetPrecision(NewPrecision: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetPrecision(NewPrecision As Long) As Long
DLL
int QuickPDFSetPrecision(int InstanceID, int NewPrecision)
Parameters
| NewPrecision | The precision to use for subsequent drawing operations. A value from 2 to 8. |
Return values
| 0 | The precision specified was out of range |
| 1 | The precision was set successfully |