Click or drag to resize

TwainControllerSendCommand Method (TwainTriplet, TwainIdentity, ITwainDataStructure)

Send a command to the TWAIN API

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public TwainReturnCode SendCommand(
	TwainTriplet command,
	TwainIdentity deviceIdentity,
	ITwainDataStructure data
)

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