Click or drag to resize

TwainControllerRegisterTwainCallback Method

Sets up a callback for TWAIN device messages instead of using the traditional message loop. This should only be called when using the TwainController directly; the Device object automatically handles the callback.

The callback feature is only supported when using the TWAIN 2.0 Data Source Manager

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 RegisterTwainCallback(
	TwainDeviceCallbackEventHandler callback
)

Parameters

callback
Type: Atalasoft.TwainTwainDeviceCallbackEventHandler
An event handler to use for the callback.

Return Value

Type: TwainReturnCode

[Missing <returns> documentation for "M:Atalasoft.Twain.TwainController.RegisterTwainCallback(Atalasoft.Twain.TwainDeviceCallbackEventHandler)"]

Remarks
See Also