AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : ResolutionPrecision Property |
Visual Basic |
---|
Public Property ResolutionPrecision As Long |
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.
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