Debenu Quick PDF logo

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 TDebenuPDFLibrary1511.SetPrecision(NewPrecision: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetPrecision(NewPrecision As Long) As Long

DLL

int DPLSetPrecision(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport