Back to Devexpress

IFontMapping Interface

aspnetcore-js-devexpress-dot-richedit-c15e4916.md

latest1.4 KB
Original Source

IFontMapping Interface

Declares font mapping settings.

Declaration

ts
export interface IFontMapping

Remarks

See the Font Management topic to learn more about fonts in the Rich Text Editor.

Properties

defaultFontName Property

Specifies a font to which font families are mapped by default.

Declaration

ts
defaultFontName?: string

Property Value

TypeDescription
string

The font name.

|

Remarks

The defaultFontName property specifies a name of a font to which font families are mapped by default (when there is no an appropriate rule in the rules collection).

Note

The defaultFontName property value should match the name property value of a font listed in the fonts collection.

rules Property

Provide access to a collection of font mapping rules.

Declaration

ts
rules?: IFontMappingRule[]

Property Value

TypeDescription
IFontMappingRule[]

The array of rules.

|