All docs
V20.2
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.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

FontSubstitutionOptions Class

Contains font substitution options.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.2.Core.dll

Declaration

[ComVisible(true)]
public class FontSubstitutionOptions :
    RichEditNotificationOptions
<ComVisible(True)>
Public Class FontSubstitutionOptions
    Inherits RichEditNotificationOptions

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:

FontSubstitutionOptions fontSubstitutionOptions =
         wordProcessor.Options.Behavior.FontSubstitution;
fontSubstitutionOptions.ComplexScript = "Dubai Medium";
fontSubstitutionOptions.EastAsia = "SimSum";
See Also