Method SetSignText
SetSignText(String, Int32)
Sets the text to be shown in the display during signing.
Declaration
Error SetSignText(string text, int fontSize)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text. |
System.Int32 | fontSize | Pass zero to let the library pick a suitable font size. |
Returns
Type | Description |
---|---|
Error | Success in case of success. |
Examples
An example with a line break.
driver.SetSignText("Hello.<br>Please sign now.", 16);
An example with italics, bold and underlined text and an adaptive font size.
driver.SetSignText("Welcome!<br>"
+ "<b>This</b> <u>is</u> a <i>text</i>"
+ "<br>" + $"with font size {fontSize}.", 0);