All docs
V21.2
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DXRichEditFontSubstitutionOptions Class

Contains font substitution options.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v21.2.dll

Declaration

public class DXRichEditFontSubstitutionOptions :
    DXRichEditOptionsBase<FontSubstitutionOptions>

The following members accept/return DXRichEditFontSubstitutionOptions objects:

Remarks

The FontSubstitutionOptions class properties allow you to specify ASCII, Complex Script, High ANSI, and East Asian Unicode fonts that are used for substitution. When the current font does not include certain characters, the preferred font for substitution is used first (to search for these characters).

The following code sample demonstrates how to specify the preferred substitute font:

<dxre:RichEditControl.BehaviorOptions>
    <dxre:DXRichEditBehaviorOptions>
        <dxre:DXRichEditBehaviorOptions.FontSubstitutionOptions>
            <dxre:DXRichEditFontSubstitutionOptions ComplexScript="Dubai Medium"
                                                    EastAsia="SimSum"/>
        </dxre:DXRichEditBehaviorOptions.FontSubstitutionOptions>
    </dxre:DXRichEditBehaviorOptions>
</dxre:RichEditControl.BehaviorOptions>

Inheritance

Object
DispatcherObject
DependencyObject
Freezable
DevExpress.Xpf.RichEdit.DXRichEditOptionsBase<FontSubstitutionOptions>
DXRichEditFontSubstitutionOptions
See Also