Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IFontSettings Interface

Declares a font’s settings.

#Declaration

TypeScript
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

TypeScript
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

TypeScript
boldItalicFontUri?: string

#Property Value

Type Description
string

The URI of a file.

#fontFamily Property

Specifies the font family.

#Declaration

TypeScript
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

TypeScript
italicFontUri?: string

#Property Value

Type Description
string

The URI of a file.

#name Property

Specifies the font name.

#Declaration

TypeScript
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

TypeScript
regularFontUri?: string

#Property Value

Type Description
string

The URI of a file.