visit Kofax web site

ACTIVESWLib::_ISPGuiAcquEvents Interface Reference


Detailed Description

Interface _ISPGuiAcquEvents.

Acquire callback events

Note:
Registered event listeners persistence is bound to the lifetime of the associated ISPGuiAcqu object, independent of the native object.


Public Member Functions

long documentEvent ([in] long lDocumentID,[in] long lRectID)
 notification a virtual button on a document was clicked
long GuiAcquButtonPressed ([in] long lId)
 notification a button was pressed in a SPGuiAcqu object
long GuiAcquRectPressed ([in] long lId)
 notification a rect was pressed in a SPGuiAcqu object
long GuiAcquTimeout ()
 notification a timeout has occured in a SPGuiAcqu object
long statusChanged ([in] long lMajor,[in] long lDetail)
 notification the hardware status of the connected tablet changed, please read tablet status change notifications for more details.
long tabletVector ([in] long lX,[in] long lY,[in] long lP,[in] long lT)
 notification a vector was passed from the tablet


Member Function Documentation

long ACTIVESWLib::_ISPGuiAcquEvents::documentEvent [in] long  lDocumentID,
[in] long  lRectID
 

notification a virtual button on a document was clicked

Parameters:
lDocumentID [i] identifier of the document
lRectID [i] identifier of the virtual button within the document
Returns:
SPX_NOERR on success, else error code
See also:
SPGuiAcquSetDocumntListener

long ACTIVESWLib::_ISPGuiAcquEvents::GuiAcquButtonPressed [in] long  lId  ) 
 

notification a button was pressed in a SPGuiAcqu object

Parameters:
lId Identifier of the button. The value depends on the tablet, see Tablet Hardware button Assignment
Returns:
SPX_NOERR on success, else error code
See also:
SPGuiAcquSetButtonListener

long ACTIVESWLib::_ISPGuiAcquEvents::GuiAcquRectPressed [in] long  lId  ) 
 

notification a rect was pressed in a SPGuiAcqu object

Parameters:
lId Identifier of the rect
Returns:
SPX_NOERR on success, else error code
See also:
ISPGuiAcqu::RegisterRect, ISPGuiAcqu::RegisterRect2

long ACTIVESWLib::_ISPGuiAcquEvents::GuiAcquTimeout  ) 
 

notification a timeout has occured in a SPGuiAcqu object

Returns:
SPX_NOERR on success, else error code
See also:
ISPGuiAcqu::SetTimeout

long ACTIVESWLib::_ISPGuiAcquEvents::statusChanged [in] long  lMajor,
[in] long  lDetail
 

notification the hardware status of the connected tablet changed, please read tablet status change notifications for more details.

Parameters:
lMajor [i] Major event descriptor
lDetail [i] Detail event descriptor
Returns:
SPX_NOERR on success, else error code
See also:
SPGuiAcquSetStatusListener

long ACTIVESWLib::_ISPGuiAcquEvents::tabletVector [in] long  lX,
[in] long  lY,
[in] long  lP,
[in] long  lT
 

notification a vector was passed from the tablet

Note:
Tablet vectors are handled by SPGuiAcqu objects, the application will typically ignore vector notifications.
Parameters:
lX [i] X-coordinate
lY [i] Y-coordinate
lP [i] pressure level
lT [i] timestamp, may be -1 if not measured
Returns:
SPX_NOERR on success, else error code
See also:
SPGuiAcquSetVectorListener


The documentation for this interface was generated from the following file: