Returns or sets an array of values of the capability specified by Capability property, when the value of the CapType property is TWON_ARRAY or TWON_ENUMERATION.
This is a runtime property.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public string GetCapItemsString( int iIndex ) |
| Visual Basic |
|---|
Public Function GetCapItemsString ( _ iIndex As Integer _ ) As String |
Parameters
- iIndex
- Type: System..::..Int32
The index is 0-based.
Return Value
Capability property value.
Remarks
Reading this property after calling CapGet() method.
This property has a parameter. The data type of the parameter is int and it is 0-based.
GetCapItemsString is used to return String type values. For other data types, use GetCapItems.
Exceptions
| Exception | Condition |
|---|---|
| Dynamsoft.DotNet.TWAIN..::..TwainException | When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. |