ScanFileFormat property (ILTDataTransfer)

Visual Basic Example

Visual C++ 5.0 Example

 

Syntax

short ScanFileFormat

Overview

Refer to Getting and Setting Capabilities.

Remarks

Gets or sets the value indicating the file format to use when saving the files from the TWAIN source. Possible values are (according to the TWAIN 1.9 specification):

Value

Meaning

L_TWFF_TIFF

Tagged image file.

L_TWFF_PICT

Macintosh PICT.

L_TWFF_BMP

Windows regular bitmap.

L_TWFF_XBM

X-Windows bitmap.

L_TWFF_JFIF

JPEG file interchange format.

L_TWFF_FPX

Flash pix file.

L_TWFF_TIFFMULTI

Multi-page tiff file format.

L_TWFF_PNG

PNG file.

L_TWFF_SPIFF

SPIFF file.

L_TWFF_EXIF

EXIF file.

This property is valid only when the TransferMode property is set to L_TWSX_FILE.

This property is updated with the driver’s current setting when the GetProperties method is called.

To update the data transfer options, set this property and the other ILTDataTransfer properties accessed by the DataTransfer property and call the SetProperties method.

When saving data to the file specified in the FileTransferName property, the ScanFileFormat property determines the file format of the saved file.

See Also

Elements

DataTransfer property, FillOrder property, BufferMemoryCompression property, TransferMode property, MemoryBufferSize property, EnableSaveMultipageFile property, EnableAppendToFile property, EnableDumpMemoryBuffersToFile property, GetProperties method, SetProperties method

Topics

TWAIN Functionality: Driver Settings.