DTWAIN_SetTIFFCompressType

Top  Previous  Next

The DTWAIN_SetTIFFCompressType sets the current compression type used for TIFF file transfers.

 

DTWAIN_BOOL DTWAIN_SetTIFFCompressType (

DTWAIN_SOURCE

Source,

LONG

CompressType );

 

Parameters

Source

An open TWAIN Source.

 

CompressType

Current TIFF compression to use.

 

Return Values

If the function succeeds, TRUE is returned.  If unsuccessful, FALSE is returned.

 

Comments

DTWAIN_SetTIFFCompressType specifies the type of compression to use for TIFF file transfers.  Use this function to change the compression type for an individual TIFF page when acquiring to a TIFF file.   For more information, read the TIFF File Issues section.

 

This function is only valid when being used for DTWAIN file transfers (e.g. the DTWAIN_USESOURCEMODE setting in the File Control flag parameter in DTWAIN_AcquireFile(Ex) is not set)

 

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize