Method SetSimpleDialogMode
SetSimpleDialogMode()
Puts the signature device to simple dialog mode, if the device supports it.
Declaration
Error SetSimpleDialogMode()
Returns
Type | Description |
---|---|
Error | Error |
Remarks
The simple dialog mode allows to run a customized graphical user interface on the device. The displayed graphics consist of text fields and images. User input is done is with the pen
Clicks with the pen trigger the PenEvent. when no signature is being captured.
A signature capture can be started with StartSignatureMode(SignMode) passing the option SimpleDialogSign..
Examples
This example starts the simple dialog mode without loading any graphics. Then, a signature drawing is captured.
C#
driver.SetSimpleDialogMode();
driver.StartSignatureMode(SignMode.SimpleDialogSign);
bool finished = false;
driver.SignFinished += (object sender, EventArgs e) =>
{
driver.StopSignatureCapture();
finished = true;
};
while (!finished)
Thread.Sleep(500);