Units of Measure

Top  Previous  Next

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

 

To retrieve the current unit of measure:

DTWAIN_GetSourceUnit

 

To set the current unit of measure:

DTWAIN_SetSourceUnit

 

To get all the supported units of measure:

DTWAIN_EnumSourceUnits