YScaling property (ILTImageResolution)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

float YScaling

Overview

Refer to Getting and Setting Capabilities

Remarks

Gets or sets the vertical scaling value of the acquired image, before transfer.

This value is expressed as a percentage, with 1.0 corresponding to 100%, 2.0 corresponding to 200%, etc.

This property is equivalent to the ICAP_YSCALING capability. There are two ways of determining the possible values for this capability:

image\sqrblit.gif call the QueryCapability method with pCapability. Capability set to ICAP_YSCALING.

image\sqrblit.gif call the GetCapability method (MFC) or the GetCapability2 method (VB) with pCapability. Capability set to ICAP_YSCALING and the IFlags parameter set to L_LTWAIN_CAPABILITY_GETVALUES.

For more information on specific TWAIN capabilities, refer to the TWAIN 1.9 specification.

This property is updated with the driver’s current setting when the GetProperties method is called.

To update the image resolution options, set this property and the other ILTImageResolution properties accessed by the ImageResolution property and call the SetProperties method.

See Also

Elements

ImageResolution property, Unit property, BitsPerPixel property, HorizontalResolution property, VerticalResolution property, XScaling property, RotationAngle property, GetProperties method, SetProperties method, GetCapability method, GetCapability2 method, QueryCapability method

Topics

TWAIN Functionality: Driver Settings