SignatureIndicatorSettings

12 Sep 20251 minute to read

The SignatureIndicatorSettings module is used to provide the properties of signature Indicator in the signature field.

<div id="pdfViewer" style="height: 100%;width: 100%;"></div>
 let viewer: PdfViewer = new PdfViewer();
 // Change the signature indicator settings.
 viewer.signatureFieldSettings = {
     signatureIndicatorSettings: {
         opacity: 1,
         backgroundColor: 'orange',
         width: 19,
         height: 10,
         fontSize: 10,
         text: null,
         color: 'black'
     }
 };
 viewer.appendTo("#pdfViewer");

Properties

backgroundColor string

Specifies the color of the signature indicator.

color string

Specifies the color of the text of signature indicator.

fontSize number

Specifies the signature Indicator’s font size. The maximum size of the font is half the height of the signature field.

height number

Specifies the height of the signature indicator. Maximum height is half the height of the signature field.
Minimum height is the default value.

opacity number

Specifies the opacity of the signature indicator.

text string

Specifies the text of the signature Indicator.

width number

Specifies the width of the signature indicator. Maximum width is half the width of the signature field.
Minimum width is the default value.