Skip to main content

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​

KeyTypeDescription
TITLE_TEXTstringTitle text.
TITLE_FOREGROUND_COLORColorColour of the title.
TOPBAR_SHOWINGboolShows (true) or hides (false) the top bar.
TOPBAR_BACKGROUND_COLORColorBackground colour of the top bar.
BOTTOMBAR_SHOWINGboolShows (true) or hides (false) the bottom bar.
BOTTOMBAR_BACKGROUND_COLORColorBackground colour of the bottom bar.

Buttons​

Each button accepts three keys: the colour (…_FOREGROUND_COLOR), the icon (…_IMAGE, IconElement) and the label (…_TEXT, string).

PrefixButton
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​

KeyTypeDescription
SIGNATURE_STROKE_COLORColorColour of the signature stroke.
SIGNATURE_STROKE_WIDTHintWidth of the signature stroke, from 1 to 10.
SIGNATURE_CAPTURE_BORDER_COLORColorBorder colour of the capture area.
SIGNATURE_CAPTURE_BORDER_WIDTHintBorder width of the capture area, from 1 to 10.
SIGNATURE_CAPTURE_FILL_COLORColorFill colour of the capture area.
SIGNATURE_CAPTURE_NUMBERintMaximum number of signatures captured by the view. -1 for no limit.