Last updated
Was this helpful?
Adds support for signature input and export. Users can draw inside of the signature control.

This will create a Signature control on the page. The LineColor property controls the color of the line, and LineWidth controls the width of the line. Once the program is run, you can click and drag the mouse to draw a line in the Signature control. It will look like this:

The Signature extension can be added to a Wisej.NET project using NuGet Package Manager.
Use the following properties to configure your Signature control:
BorderStyle. The style of the Control's border.
LineColor. The color of the Signature line.
LineWidth. The width of the Signature line.
ReadOnly. If true, the Signature cannot be changed.
Use the following methods of your Signature control:
GetImageAsync. Returns an image of the Signature.
IsEmptyAsync. Returns true when there is no Signature.
Load. Loads an image into the Signature control.
CanRedoAsync. Returns true if there is a user action that can be redone.
CanUndoAsync. Returns true if there is a user action that can be undone.
Redo. Redoes the last user action.
Undo. Undoes the last user action.
Signature control fires these events:
SignatureChange. Fired whenever the Signature is changed.
Last updated
Was this helpful?
Was this helpful?
Signature signature = new Signature();
signature.Size = new System.Drawing.Size(300, 150);
signature.LineColor = System.Drawing.Color.Red;
signature.LineWidth = 10;
this.Controls.Add(signature);