How can I help you?
How to Change the Font Family in the Type Signature
11 Feb 20261 minute to read
Use the PDF Viewer’s handWrittenSignatureSettings.typeSignatureFonts property to supply an array of font-family names that the Type Signature control can use. Ensure fonts are loaded before applying them to the viewer (for example, call changeFontFamily() after the viewer instance is available, such as in ngAfterViewInit or after the component finishes initializing).
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Allura" >
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tangerine">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sacramento">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inspiration"> changeFontFamily() {
var pdfviewer = (<any>document.getElementById('pdfViewer')).ej2_instances[0];
pdfviewer.handWrittenSignatureSettings.typeSignatureFonts = [
'Allura',
'Tangerine',
'Sacramento',
'Inspiration',
];
}Find the sample how to Change the Font Family in the Type Signature