SetProperties method (ILEADRasterTwain)
short SetProperties() | |
Overview |
Refer to Getting and Setting Capabilities. |
Remarks
Sets the current TWAIN source properties to the TWAIN driver.
This method lets the user set specific TWAIN driver settings. It is a high-level alternative to setting individual capabilities using the SetCapability method (MFC) or the SetCapability2 method (VB). For more information on getting and setting TWAIN capabilities, refer to Getting and Setting Capabilities.
Calling this method sets the following properties:
Note that the ImageEffects, DataTransfer, and ImageResolution properties are read-only interface properties that contain multiple sub-properties. Calling the SetProperties method sets each individual sub-property associated with the three interface properties to the TWAIN driver.
For more information on the sub-properties, refer to the ImageEffects property, DataTransfer property, and the ImageResolution property.
Note that not all TWAIN capabilities can be set using the SetProperties method. Depending on the TWAIN source, some capabilities can only be set using the SetCapability method (MFC) or the SetCapability2 method (VB).
For a listing of available capabilities, refer to LEADTOOLS TWAIN Defines.
For more information on specific TWAIN capabilities, refer to the TWAIN 1.9 specification.
To get the current values for the above properties, call the GetProperties method.
See Also