menu

Document Processing

SubstituteFontEventArgs Class - C# Word Library API Reference | Syncfusion

    Show / Hide Table of Contents

    SubstituteFontEventArgs Class

    Represents the substitute font event that occurs during Word to PDF/Image conversion to substitute the alternate fonts when a specified font is not installed in the production environment.

    Inheritance
    System.Object
    SubstituteFontEventArgs
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public class SubstituteFontEventArgs : EventArgs

    Properties

    AlternateFontName

    Gets or sets the alternate font name.

    Declaration
    public string AlternateFontName { get; set; }
    Property Value
    Type Description
    System.String

    The string that specifies the alternate font name.

    AlternateFontStream

    Declaration
    public Stream AlternateFontStream { get; set; }
    Property Value
    Type
    System.IO.Stream

    FontStyle

    Declaration
    public FontStyle FontStyle { get; }
    Property Value
    Type
    System.Drawing.FontStyle

    OriginalFontName

    Gets the original font name. Read Only.

    Declaration
    public string OriginalFontName { get; }
    Property Value
    Type Description
    System.String

    The string that specifies the original font name.

    OrignalFontName

    Gets the original font name. Read Only.

    Declaration
    public string OrignalFontName { get; }
    Property Value
    Type Description
    System.String

    The string that specifies the original font name.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved