Unit property (ILTImageResolution)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

short Unit

Overview

Refer to Getting and Setting Capabilities.

Remarks

Gets or sets the unit of measure to use. Possible values are (according to the TWAIN 1.9 specification):

Value

Meaning

L_TWUN_INCHES

Inches unit.

L_TWUN_CENTIMETERS

Centimeters unit.

L_TWUN_PICAS

Picas unit.

L_TWUN_POINTS

Points unit.

L_TWUN_TWIPS

Twips unit.

L_TWUN_PIXELS

Pixels unit.

The value of this property indicates the unit of measure for the following properties:

HorizontalResolution property

VerticalResolution property

BottomMargin property

LeftMargin property

RightMargin property

TopMargin property

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, BitsPerPixel property, HorizontalResolution property, VerticalResolution property, XScaling property, YScaling property, RotationAngle property, GetProperties method, SetProperties method

Topics

TWAIN Functionality: Driver Settings