Class that allows to manipulate with UserInterface of Twain device.
To allow an application to query a source to see if it implements the new user interface
settings dialog capability EnableDSUIOnly should be call.
To check if source supports preview UI CameraPreviewUI should return TRUE. However,
the application can choose to use the Source's UI or not even if the Source supports it.
Inheritance Hierarchy
TwainScanning.CapabilityCapSetBase
TwainScanning.Capability.CapabilitySetsUserInterface
Namespace: TwainScanning.Capability.CapabilitySets
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.4.0 (1.3.4.0)
Syntax
The UserInterface type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetCapabilities | (Inherited from CapSetBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MakeCapT | (Inherited from CapSetBase.) | |
MakeCapArrT | (Inherited from CapSetBase.) | |
MakeCapReadOnlyT | (Inherited from CapSetBase.) | |
MakeCapReadOnlyArrayT | (Inherited from CapSetBase.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
CameraPreviewUI |
This capability queries the Source for UI support for preview mode. If true, the Source supports
preview UI.
CAP_CAMERAPREVIEWUI
| |
CustomDSData |
Allows the application to query the data source to see if it supports the new operation triplets.
CAP_CUSTOMDSDATA
| |
CustomInterfaceGuid |
Uniquely identifies an interface for a Data Source, so that an Application can properly interpret its custom content.
This is a read only capability.
CAP_CUSTOMINTERFACEGUID
| |
EnableDSUIOnly |
Allows an application to query a source to see if it implements the new user interface settings
dialog.
CAP_ENABLEDSUIONLY
| |
Indicators |
If true, the Source displays a progress indicator during acquisition and transfer, regardless of
whether the Source's user interface is active. If FALSE, the progress indicator is suppressed if the
Source's user interface is inactive.
The Source displays device-specific instructions and error messages if either the user interface or
progress indicator is turned on.In this case it returns TWCC_OPERATIONERROR to alert the
application that it handled the error, and communicated the problem to the user.
If both the user interface and progress indicator are turned off, then the Source never displays any
message to the user, even if TWCC_OPERATIONERROR is returned.Messages to the user are under
the sole control of the Application.
CAP_INDICATORS
| |
IndicatorsMode |
Specify what messages can be displayed if Indicators is TRUE.
CAP_INDICATORSMODE
| |
UIControllable |
If true, indicates that this Source supports acquisition with/without the UI.
CAP_UICONTROLLABLE
|
See Also