GetScanMode

#include "BiTwain.h"

 

int CALLBACK GetScanMode()

Description

This function retrieves the mode of the scanning.

Parameters

Return values

Return a positive value, that means the scanning mode, otherwise return -1.

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

Requirements

Header :     Declared in BiTwain.h; include BiTwain.h.

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.