Accusoft ImagXpress 12
ResolutionPrecision Property
See Also  Example  Send comments on this topic.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : ResolutionPrecision Property

Glossary Item Box

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 QueryFile 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

VB Example for using ResolutionPrecision (Visual Basic)Copy Code
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

©2013. Accusoft Corporation. All Rights Reserved.