LTWAINPROPERTIES

Summary

The LTWAINPROPERTIES structure provides information about the available TWAIN properties.

Syntax

typedef struct _LTWAINPROPERTIES 
{ 
   L_UINT uStructSize; 
   L_BOOL bPaperSource; 
   L_INT nMaxNumOfPages; 
   L_INT nDuplexScanning; 
   IMAGERESOLUTION ImageRes; 
   DATATRANSFER DataTransfer; 
   IMAGEEFFECTS ImageEff; 
} LTWAINPROPERTIES,  * pLTWAINPROPERTIES; 

Members

L_UINT uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

L_BOOL bPaperSource

Flag that indicates whether to use the Auto-Feed capability of the selected TWAIN source. Possible values are:

Value Meaning
TRUE Use the Auto-Feed capability.
FALSE Do not use the Auto-Feed capability.

L_INT nMaxNumOfPages

The maximum number of pages to get from the TWAIN source. (If the function updates this field to -1, it means that the number of pages is unlimited.)

L_INT nDuplexScanning

(Read only) Gets the type of duplex scanning. Possible values are (according to the TWAIN specification):

Value Meaning
TWDX_NONE No duplex used.
TWDX_1PASSDUPLEX 1 pass duplex.
TWDX_2PASSDUPLEX 2 pass duplex.

IMAGERESOLUTION ImageRes

A structure of type IMAGERESOLUTION that contains image resolution data for the TWAIN source.

DATATRANSFER DataTransfer

A structure of type DATATRANSFER that contains data transfer information for the TWAIN source.

IMAGEEFFECTS ImageEff

A structure of type IMAGEEFFECTS that contains image effects information for the TWAIN source.

Comments

pLTWAINPROPERTIES is a pointer to an LTWAINPROPERTIES structure. Where the function parameter type is pLTWAINPROPERTIES, you can declare an LTWAINPROPERTIES variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLTWAINPROPERTIES variable is necessary only if your program requires a pointer.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS TWAIN C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.