Back to Devexpress

IFontMappingRule Interface

aspnetcore-js-devexpress-dot-richedit-80cdb82e.md

latest1.6 KB
Original Source

IFontMappingRule Interface

Declares settings of a font mapping rule.

Declaration

ts
export interface IFontMappingRule

Remarks

A font mapping rule maps a font family (sourceFontFamily) to a destination font (destinationFontName).

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

Properties

destinationFontName Property

Specifies a font to which a source font family is mapped.

Declaration

ts
destinationFontName: string

Property Value

TypeDescription
string

The font name.

|

Remarks

The destinationFontName property specifies a font to which a source font family is mapped.

Note

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

sourceFontFamily Property

Specifies a name of a font family that is mapped.

Declaration

ts
sourceFontFamily: string

Property Value

TypeDescription
string

The font family.

|

Remarks

The sourceFontFamily property specifies a font family that is mapped to a destination font.