ImageMan ImTwain Control Version 8
GetCapability Method
See Also  Send comments on this topic.
Capability
Specifies the Capability to get.
Value
A reference to a Variant which will contain the value of the Capability.
DataType
A reference to a Long variable which will contain the DataType of the capability.

Glossary Item Box

Description

Returns the value of any capability of the current scanner.

Syntax

Visual Basic
Public Function GetCapability( _
   ByVal Capability As Long, _
   ByRef Value As Variant, _
   ByRef DataType As Long _
) As Boolean

Parameters

Capability
Specifies the Capability to get.
Value
A reference to a Variant which will contain the value of the Capability.
DataType
A reference to a Long variable which will contain the DataType of the capability.

Return Type

Returns True if the Get Capability was successful, otherwise returns false.

Remarks

If the Get Capability fails the method will return False and the LastError property will be set to an Error object describing the error that occurred.

See Also

© 2014 Data Techniques Inc. All Rights Reserved.