menu

WinForms

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

    Show / Hide Table of Contents

    Class IconFontHelper

    This class helps to register and render icon font in a Windows Forms application from *.ttf file.

    Inheritance
    System.Object
    IconFontHelper
    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.Helper
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public static class IconFontHelper

    Properties

    FontFamilies

    Holds FontFamilies collection

    Declaration
    public static FontFamily[] FontFamilies { get; }
    Property Value
    Type
    System.Drawing.FontFamily[]

    Methods

    Dispose()

    Helps to dispose the instances used in IconFontHelper class.

    Declaration
    public static void Dispose()

    GetFontAsString(IconFontHelper.IconFont)

    Helps to retrieve the icon font as string from its unicode for drawing purpose.

    Declaration
    public static string GetFontAsString(IconFontHelper.IconFont iconFont)
    Parameters
    Type Name Description
    IconFontHelper.IconFont iconFont

    Holds the icon font unicode.

    Returns
    Type
    System.String

    RegisterIcons()

    Helps to register the private/custom icon fonts in the system memory for rendering in Windows Forms.

    Declaration
    public static void RegisterIcons()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved