Skip to main content
All docs
V25.1
  • DXFontData(String, String, Int32, Boolean, Boolean) Constructor

    Initializes a new instance of the DXFontData class with specified settings.

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public DXFontData(
        string filePath,
        string name,
        int ttcIndex,
        bool bold,
        bool italic
    )

    Parameters

    Name Type Description
    filePath String

    The path to the font file.

    name String

    The font name.

    ttcIndex Int32

    A zero-based index of the font within the TTC file.

    bold Boolean

    true if the font is bold; otherwise, false.

    italic Boolean

    true if the font style is italic; otherwise, false.

    See Also