LTWAINPROPERTIES

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

The LTWAINPROPERTIES structure provides information about the available TWAIN properties.

Member Description
uStructSize Size of the LTWAINPROPERTIES structure, in bytes, for versioning. Use the sizeof() macro to calculate the value.
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.
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.)
nDuplexScanning Sets the type of duplex scanning. Possible values are (according to the TWAIN 1.9 specification):
  Value Meaning
  TWDX_NONE No duplex used.
  TWDX_1PASSDUPLEX 1 pass duplex.
  TWDX_2PASSDUPLEX 2 pass duplex.
ImageRes A structure of type IMAGERESOLUTION that contains image resolution data for the TWAIN source.
DataTransfer A structure of type DATATRANSFER that contains data transfer information for the TWAIN source.
ImageEff A structure of type IMAGEEFFECTS that contains image effects information for the TWAIN source.

Comments

pLTWAINPROPERTIES is a pointer to a 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.

LTWAINPROPERTIES is used with the LTwain::GetProperties and LTwain::SetProperties functions.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS TWAIN C++ Class Library Help