Search Results for

    Show / Hide Table of Contents

    Class FontFamily

    Inheritance
    System.Object
    FontFamily
    Implements
    System.IEquatable<FontFamily>
    Namespace: SixLabors.Fonts
    Assembly: IronXL.dll
    Syntax
    public sealed class FontFamily : ValueType, IEquatable<FontFamily>

    Properties

    Culture

    Declaration
    public CultureInfo Culture { get; }
    Property Value
    Type Description
    System.Globalization.CultureInfo

    Name

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

    Methods

    CreateFont(Single)

    Declaration
    public Font CreateFont(float size)
    Parameters
    Type Name Description
    System.Single size
    Returns
    Type Description
    Font

    CreateFont(Single, FontStyle)

    Declaration
    public Font CreateFont(float size, FontStyle style)
    Parameters
    Type Name Description
    System.Single size
    FontStyle style
    Returns
    Type Description
    Font

    Equals(FontFamily)

    Declaration
    public bool Equals(FontFamily other)
    Parameters
    Type Name Description
    FontFamily other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    GetAvailableStyles()

    Declaration
    public IEnumerable<FontStyle> GetAvailableStyles()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<FontStyle>

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    TryGetPaths(out IEnumerable<String>)

    Declaration
    public bool TryGetPaths(out IEnumerable<string> paths)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.String> paths
    Returns
    Type Description
    System.Boolean

    Operators

    Equality(FontFamily, FontFamily)

    Declaration
    public static bool operator ==(FontFamily left, FontFamily right)
    Parameters
    Type Name Description
    FontFamily left
    FontFamily right
    Returns
    Type Description
    System.Boolean

    Inequality(FontFamily, FontFamily)

    Declaration
    public static bool operator !=(FontFamily left, FontFamily right)
    Parameters
    Type Name Description
    FontFamily left
    FontFamily right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Free 30-Day Trial Key
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronXL to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronXL free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.