TwainCapability Class |
Namespace: Atalasoft.Twain
The TwainCapability type exposes the following members.
| Name | Description | |
|---|---|---|
| TwainCapability | Creates a new instance of TwainCapability. | |
| TwainCapability(DeviceCapability) | Creates a new instance of TwainCapability specifying the capability to work with. | |
| TwainCapability(DeviceCapability, TwainContainer, IntPtr) | Creates a new instance of TwainCapability specifying the capability, container type and pointer to the
data. |
| Name | Description | |
|---|---|---|
| Capability | Gets or sets the capability to work with. | |
| ContainerType | Gets or sets the container used to hold the data. | |
| Data | Gets or sets the data pointer. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetStructurePointer | Creates the memory pointer containing data sent to Twain. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsSupportedCommand | Returns a value indicating whether the implementing class supports a specific TwainTriplet
command. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ProcessResult | Receives the data pointer created by GetStructurePointer(TwainMemory) after being
processed by Twain. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
TwainCapability cap = new TwainCapability(DeviceCapability.CAP_DEVICEONLINE); TwainReturnCode ret = SendCommand(TwainTriplet.CapabilityGetCurrent, this._device, cap);
Dim cap As TwainCapability = New TwainCapability(DeviceCapability.CAP_DEVICEONLINE) Dim ret As TwainReturnCode = SendCommand(TwainTriplet.CapabilityGetCurrent, Me._device,cap)