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

[Visual Basic] Public WriteOnly Property XScaling As Single
[C#] public float XScaling {set;}

Property Value

XScaling is the horizontal scaling

Default value is 1.0

Explanation

The XScaling property sets the horizontal scaling (magnification). This property is only enabled when the UserInterface property is Suppress. If the UserInterface is set to a value other than Suppress or if a digital camera is being used, this property is disabled. The range and values of scaling supported by the scan device can be retrieved by executing the GetCapabilityEnumToSingle or the GetCapabilityRange method.

To scan in actual size, set the XScaling and YScaling properties to 1.0

Note: Although it is possible to set different values for horizontal and vertical scaling some datasources (scan drivers) do not support this. In such cases, either the horizontal scaling value or the vertical scaling value will be used.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation