GetScanMode  Method

Description         This method retrieves the mode of the scanning.

Usage                  ret = [form.]TWAIN. GetScanMode

Returns               ret                           Long                Returns the current scanning mode.

Remarks

Programing Notes           Scanning modes:   TWPT_BW                 0

TWPT_GRAY            1

TWPT_RGB               2

TWPT_PALETTE      3

TWPT_CMY              4

TWPT_CMYK           5

TWPT_YUV               6

TWPT_YUVK            7

TWPT_CIEXYZ        8

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

                                          will be TW_OK.

See Also              SetScanMode Method