This property sets the horizontal scan resolution. This property is only enabled when using a custom-built user interface (UserInterface=Suppress).

[Visual Basic] Public Property XResolution As Integer
[C#] public int XResolution {get; set;}

Property Value

The horizontal and vertical scan resolution are set in DPI units.

XResolution is the horizontal scan resolution

Explanation

The XResolution property sets the horizontal scan resolution. This property is enabled when the UserInterface property is Suppress. When the UserInterface property is NOT Suppress or when a digital camera is being used, these properties are disabled. The range of resolution and the resolution values supported by the scan device can be retrieved by executing the GetCapabilityEnumToSingle or the GetCapabilityRange method. To use the scan device default resolution values, set this property to -1.

Note: Although it is possible to set different values for the horizontal and vertical resolution, some datasources (scanner drivers) do not support different values for horizontal and vertical resolution. In such cases, either the horizontal resolution or the vertical resolution will be enabled. To retrieve the actual resolution, refer to the XResolution and YResolution properties within the BeforeScan event or after executing the Execute method.

See Also

Scan Members | Newtone.ImageKit.Win.ImageKit

The ImageKit.NET3 is created by Newtone Corporation