In This Topic
Register a Font for export PDF.
Syntax
var value; // Type: any
value = GC.Spread.Sheets.PDF.PDFFontsManager.registerFont(name, font, font.normal, font.bold, font.italic, font.boldItalic);
function registerFont(
: string,
(optional) : Object,
(optional) : undefined,
(optional) : undefined,
(optional) : undefined,
(optional) : undefined
) : any;
Parameters
- name
- The font name.
- font
- The font object.
- font.normal
- The normal font file in base64 string or ArrayBuffer.
- font.bold
- The bold font file in base64 string or ArrayBuffer.
- font.italic
- The italic font file in base64 string or ArrayBuffer.
- font.boldItalic
- The boldItalic font file in base64 string or ArrayBuffer.
See Also