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

[C++Builder]   imagekitcontrolname->Scan->XScaling [ = float ]
[Delphi]   imagekitcontrolname.Scan.XScaling [ = Single ]

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 vikScanNONUI. If the UiMode is set to a value other than vikScanNONUI 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 GetCapEnumToFloat or the GetCapRange 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 VCL is a product created by Newtone Corporation