IFontSettings Interface
Declares a font’s settings.
Declaration
export interface IFontSettings
Remarks
See the Font Management topic to learn more about fonts in the Rich Text Editor.
Properties
boldFontUri Property
Specifies the URI of a file that contains the font in bold.
Declaration
boldFontUri?: string
Property Value
Type | Description |
---|---|
string | The URI of a file. |
boldItalicFontUri Property
Specifies the URI of a file that contains the font in the bold and italic style.
Declaration
boldItalicFontUri?: string
Property Value
Type | Description |
---|---|
string | The URI of a file. |
fontFamily Property
Specifies the font family.
Declaration
fontFamily: string
Property Value
Type | Description |
---|---|
string | The font family. |
Remarks
The fontFamily property specifies how the font is rendered in the control and determines the font resources’ names if you add source files in the default font folder.
italicFontUri Property
Specifies the URI of a file that contains the font in the italic style.
Declaration
italicFontUri?: string
Property Value
Type | Description |
---|---|
string | The URI of a file. |
name Property
Specifies the font name.
Declaration
name: string
Property Value
Type | Description |
---|---|
string | The font name. |
Remarks
The name property specifies the font’s unique identifier and is displayed in the control UI (ribbon and dialogs).
Use the name property value when you specify a default mapping font (defaultFontName) or a destination font for a mapping rule (destinationFontName).
regularFontUri Property
Specifies the URI of a file that contains the font in the regular style.
Declaration
regularFontUri?: string
Property Value
Type | Description |
---|---|
string | The URI of a file. |