UserInterface ClassTerminal Works - TwainScanning.Net Library
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

SystemObject
  TwainScanning.CapabilityCapSetBase
    TwainScanning.Capability.CapabilitySetsUserInterface

Namespace: TwainScanning.Capability.CapabilitySets
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.4.0 (1.3.4.0)
Syntax

public class UserInterface : CapSetBase

The UserInterface type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCapabilities (Inherited from CapSetBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMakeCapT (Inherited from CapSetBase.)
Protected methodMakeCapArrT (Inherited from CapSetBase.)
Protected methodMakeCapReadOnlyT (Inherited from CapSetBase.)
Protected methodMakeCapReadOnlyArrayT
(Inherited from CapSetBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyCameraPreviewUI
This capability queries the Source for UI support for preview mode. If true, the Source supports preview UI. CAP_CAMERAPREVIEWUI
Public propertyCustomDSData
Allows the application to query the data source to see if it supports the new operation triplets. CAP_CUSTOMDSDATA
Public propertyCustomInterfaceGuid
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
Public propertyEnableDSUIOnly
Allows an application to query a source to see if it implements the new user interface settings dialog. CAP_ENABLEDSUIONLY
Public propertyIndicators
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
Public propertyIndicatorsMode
Specify what messages can be displayed if Indicators is TRUE. CAP_INDICATORSMODE
Public propertyUIControllable
If true, indicates that this Source supports acquisition with/without the UI. CAP_UICONTROLLABLE
Top
See Also

Reference