Accusoft ImagXpress 13
ResolutionPrecision Property
Description
Gets and sets the precision used when resolution is returned.
Property Type
Read-write property
Syntax
Visual Basic
Public Property ResolutionPrecision As Long
Return Type
The precision used when resolution is returned.
Remarks

This property affects the values returned from IResX, IResY properties and QueryFile2 method. ResolutionPrecision is really a request for the precision level to be at a certain level. Because of the way floating-point numbers are stored in computers, ImagXpress can not guarantee that the precision is at a certain level. If the application needs 100% accuracy, then the application should set this value to 15 and handle any truncation or rounding itself.

Example
Dim resX As Double, resY As Double
ImagXpress1.ResolutionPrecision = 0
resX = ImagXpress1.IResX
resY = ImagXpress1.IResY

' resX and resY will have 0 as the fractional part
See Also

ImagXpress Object  | ImagXpress Members  | Image Information

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback