menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FontInfo - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FontInfo

    Serializable class for working around Font serialization bug with SoapFormatter.

    Inheritance
    System.Object
    FontInfo
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class FontInfo

    Constructors

    FontInfo(String, Single, FontStyle)

    Initializes a new instance of the FontInfo class.

    Declaration
    public FontInfo(string family, float size, FontStyle style)
    Parameters
    Type Name Description
    System.String family

    The family.

    System.Single size

    The font size.

    System.Drawing.FontStyle style

    The font style.

    Fields

    family

    Font family

    Declaration
    public string family
    Field Value
    Type
    System.String

    size

    Size of the font.

    Declaration
    public float size
    Field Value
    Type
    System.Single

    style

    Style of the font.

    Declaration
    public FontStyle style
    Field Value
    Type
    System.Drawing.FontStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved