TwainControllerSendCommand Method (TwainTriplet, TwainIdentity, ITwainDataStructure) |
Send a command to the TWAIN API
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic TwainReturnCode SendCommand(
TwainTriplet command,
TwainIdentity deviceIdentity,
ITwainDataStructure data
)
Public Function SendCommand (
command As TwainTriplet,
deviceIdentity As TwainIdentity,
data As ITwainDataStructure
) As TwainReturnCode
Parameters
- command
- Type: Atalasoft.TwainTwainTriplet
The command to send. - deviceIdentity
- Type: Atalasoft.TwainTwainIdentity
The device to send the message to, or null (Nothing) to send a command to the Data Source
Manager. - data
- Type: Atalasoft.TwainITwainDataStructure
A class implementing the ITwainDataStructure interface that will retrieve or
contains data relevant to this command.
Return Value
Type:
TwainReturnCode The return code received from TWAIN
See Also