DTwainSource::EnumUnitsOfMeasure

Top  Previous  Next

Syntax

bool EnumUnitsOfMeasure( DTwainLongArray& Array ) const;

 

Parameters

Array

Array that will store the supported units of measure.

 

Return Value

true if successful, false otherwise.

 

Comments

This function returns a DTwainLongArray that denotes all of the supported units of measure of the Source when acquiring an image.

 

The size of the image is usually specified in units of inches.  However, other units of measure can be used to specify the units used to measure the image.  The units of measure are constants that are equal to the following values:

Unit

Value

INCHES

0

CENTIMETERS

1

PICAS        

2

POINTS

3

TWIPS        

4

PIXELS

5