Skip to main content

ICaptureWindowEvents

ICaptureWindowEvents Summary​

public static interface ICaptureWindowEvents
Method
OnSignatureStarted
OnButtonClick
OnError
OnClose

ICaptureWindowEvents Methods​

OnSignatureStarted()​

This method is called when the pen first makes contact with the screen (when the first pen down occurs).

void OnSignatureStarted(CaptureWindow sender)
Parameters
sender — The CaptureWindow instance that triggered the event.
Return Value
none

OnButtonClick()​

This method is called when a button click event occurs.

void OnButtonClick(CaptureWindow sender, Enums.ButtonId buttonId)
Parameters
sender — The CaptureWindow instance that triggered the event.
buttonId — The identifier of the button clicked.
Return Value
none

OnError()​

This method is called when an error occurs during the signature capture process.

void OnError(CaptureWindow sender, Enums.CaptureResult errorType, String description)
Parameters
sender — The CaptureWindow instance that triggered the event.
errorType — The type of error occurred.
description — A description of the error.
Return Value
none

OnClose()​

This method is called when the signature capture window is closed.

void OnClose(CaptureWindow sender, Enums.CaptureResult errorType, String errorDescription)
Parameters
sender — The CaptureWindow instance that triggered the event.
errorType — The result of the capture process upon closing.
errorDescription — A description of any error occurred on close.
Return Value
none