GetUnit  Method

Description         This method retrieves the specified unit of measure of the scanner.

Usage                  ret = [form.]TWAIN. GetUnit

Returns               ret                           Long                Returns the current scanning unit.

Remarks

Programing Notes           Scanning units:     TW_INCHES             0

TW_CENTIMETERS 1
TW_PICAS                2
TW_POINTS              3
TW_TWIPS                4
TW_PIXELS              5

                                          See ErrorCode property for error. If operation succeded the error code

                                          will be TW_OK.

See Also              SetUnit Method