DTwainSourceFileTransfer::SetTransferType

Top  Previous  Next

Syntax

 

DTwainSourceFileTransfer& DTwainSourceFileTransfer::SetTransferType( LONG TransferType );

 

Parameters

TransferType

One of the transfer types mentioned below in the Comments.

 

Return Value

Returns true if successful, false otherwise.

 

 

Comments

 

 

Returns all of the image formats that are available when issuing a file transfer.  Note that the AllTypes will list only the transfer types that are supported by the Source's internal file transfer mechanism, and not the DTWAIN file transfer mode types.

 

The transfer types available are below:

 

FILETYPE_SOURCE_TIFF        

TIFF Format

FILETYPE_SOURCE_PICT        

Macintosh PICT format

FILETYPE_SOURCE_BMP

Windows BMP Format

FILETYPE_SOURCE_XBM                

X Bitmap Format

FILETYPE_SOURCE_JFIF        

JFIF (JPEG) Format

FILETYPE_SOURCE_FPX        

Flash Pix Format

FILETYPE_SOURCE_TIFFMULTI        

Multi-Page TIFF

FILETYPE_SOURCE_PNG        

PNG Format

FILETYPE_SOURCE_SPIFF        

SPIFF format

FILETYPE_SOURCE_EXIF        

EXIF format