Customisation
Pass a dictionary of customisation properties to the constructor of MobbSignView:
var customization = new Dictionary<string, object>
{
{ MobbSignView.TOPBAR_BACKGROUND_COLOR, Colors.Transparent },
{ MobbSignView.BOTTOMBAR_SHOWING, true },
{ MobbSignView.BACKBTN_SHOWING, true },
{ MobbSignView.SIGNATURE_STROKE_COLOR, Colors.DarkBlue },
};
this.MobbSignView = new MobbSignView(customization);
Toolbars
| Key | Type | Description |
|---|---|---|
TITLE_TEXT | string | Title text. |
TITLE_FOREGROUND_COLOR | Color | Colour of the title. |
TOPBAR_SHOWING | bool | Shows (true) or hides (false) the top bar. |
TOPBAR_BACKGROUND_COLOR | Color | Background colour of the top bar. |
BOTTOMBAR_SHOWING | bool | Shows (true) or hides (false) the bottom bar. |
BOTTOMBAR_BACKGROUND_COLOR | Color | Background colour of the bottom bar. |
Buttons
Each button accepts three keys: the colour (…_FOREGROUND_COLOR), the icon (…_IMAGE, IconElement) and the label (…_TEXT, string).
| Prefix | Button |
|---|---|
CONFIRMBTN_ | Confirm the signature. |
DONEBTN_ | Finish. |
SAVEBTN_ | Save the form. |
BACKBTN_ | Back. It also accepts BACKBTN_SHOWING (bool). |
SIGNBTN_ | Sign. |
REMOVEBTN_ | Delete the signature. |
ZOOMINBTN_ · ZOOMOUTBTN_ | Zoom in and out. |
PREVPAGEBTN_ · NEXTPAGEBTN_ | Previous and next page. |
Signature
| Key | Type | Description |
|---|---|---|
SIGNATURE_STROKE_COLOR | Color | Colour of the signature stroke. |
SIGNATURE_STROKE_WIDTH | int | Width of the signature stroke, from 1 to 10. |
SIGNATURE_CAPTURE_BORDER_COLOR | Color | Border colour of the capture area. |
SIGNATURE_CAPTURE_BORDER_WIDTH | int | Border width of the capture area, from 1 to 10. |
SIGNATURE_CAPTURE_FILL_COLOR | Color | Fill colour of the capture area. |
SIGNATURE_CAPTURE_NUMBER | int | Maximum number of signatures captured by the view. -1 for no limit. |