Skip to main content
All docs
V25.1
  • FontSubstitutionOptions Class

    Contains font substitution options.

    Namespace: DevExpress.XtraRichEdit

    Assembly: DevExpress.RichEdit.v25.1.Core.dll

    NuGet Package: DevExpress.RichEdit.Core

    Declaration

    [ComVisible(true)]
    public class FontSubstitutionOptions :
        RichEditNotificationOptions

    The following members return FontSubstitutionOptions 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:

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