GetProperties method (Twain Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

int GetProperties(pLTWAINPROPERTIES pProperties, unsigned uFlags);

Delphi Syntax

Function GetProperties (pProperties: pLTWAINPROPERTIES; uFlags: L_UINT ): L_INT;

Overview

Refer to Getting and Setting Capabilities.

Remarks

Gets the current or default values of the properties defined in the LTWAINPROPERTIES structure.

This method lets the user get information on the properties contained in the LTWAINPROPERTIES structure. It is a high-level alternative to getting capabilities using the GetCapability method or the EnumCapabilities method. For more information on getting and setting TWAIN capabilities, refer to Getting and Setting Capabilities.

To set properties, use the SetProperties method.

See Also

Elements:

SetProperties method, SetCapability method, GetCapability method, InitSession method, EndSession method.

Topics:

TWAIN Functionality: Images.