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

[Visual Basic]   imagekitcontrolname.Scan.XScaling [ = Single ]
[Visual C++]     imagekitcontrolname.GetScan().SetXScaling(float Val)
[VB.NET]   imagekitcontrolname.Scan.XScaling [ = Single ]
[C#.NET]   imagekitcontrolname.Scan.XScaling [ = float ]

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 UiMode property is 2(ikScanNONUI). If the UiMode is set to a value other than 2 or if a digital camera is being used, this property is disabled. The range of scaling supported by the scan device can be retrieved by executing the GetCapEnum, the GetCapEnumVariant , the GetCapRange, or the GetCapRangeVariant 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.

Setting this value

  This value can be set at runtime.

Retrieving this value

  This value cannot be retrieved.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation