SignatureIndicatorSettings
6 Jul 20261 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.
Defaults to ‘orange’
color string
Specifies the color of the text of signature indicator.
Defaults to ‘black’
fontSize number
Specifies the signature Indicator’s font size. The maximum size of the font is half the height of the signature field.
Defaults to 10
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.
Defaults to 10
opacity number
Specifies the opacity of the signature indicator.
Defaults to 1
text string
Specifies the text of the signature Indicator.
Defaults to null
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.
Defaults to 19