UnregisterEvent()

Description

Removes an event listener from a built-in Dynamic Web TWAIN event.

Syntax

.UnregisterEvent(eventName, evt)

Parameters

stringeventName: the name of a built-in event. Currently the supported events are:
OnBitmapChanged
OnGetFilePath
OnImageAreaDeSelected
OnImageAreaSelected
OnInternetTransferPercentage
OnMouseClick
OnMouseDoubleClick
OnMouseMove
OnMouseRightClick
OnPostAllTransfers
OnPostLoad
OnPostTransfer
OnPreAllTransfers
OnPreTransfer
OnSourceUIClose
OnTopImageInTheViewChanged

<function> optional evt: a <function> as the event listener.

Return value

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

See also

RegisterEvent

Is this page helpful?

Leave a Reply

Your email address will not be published.