Search Results for

    Show / Hide Table of Contents

    Class Font

    Inheritance
    System.Object
    Font
    Namespace: SixLabors.Fonts
    Assembly: IronWebScraper.dll
    Syntax
    public sealed class Font : Object

    Constructors

    Font(Font, FontStyle)

    Declaration
    public Font(Font prototype, FontStyle style)
    Parameters
    Type Name Description
    Font prototype
    FontStyle style

    Font(Font, Single)

    Declaration
    public Font(Font prototype, float size)
    Parameters
    Type Name Description
    Font prototype
    System.Single size

    Font(Font, Single, FontStyle)

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

    Font(FontFamily, Single)

    Declaration
    public Font(FontFamily family, float size)
    Parameters
    Type Name Description
    FontFamily family
    System.Single size

    Font(FontFamily, Single, FontStyle)

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

    Properties

    Family

    Declaration
    public FontFamily Family { get; }
    Property Value
    Type Description
    FontFamily

    FontMetrics

    Declaration
    public FontMetrics FontMetrics { get; }
    Property Value
    Type Description
    FontMetrics

    IsBold

    Declaration
    public bool IsBold { get; }
    Property Value
    Type Description
    System.Boolean

    IsItalic

    Declaration
    public bool IsItalic { get; }
    Property Value
    Type Description
    System.Boolean

    Name

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

    Size

    Declaration
    public float Size { get; }
    Property Value
    Type Description
    System.Single

    Methods

    GetGlyphs(CodePoint, ColorFontSupport)

    Declaration
    public IEnumerable<Glyph> GetGlyphs(CodePoint codePoint, ColorFontSupport support)
    Parameters
    Type Name Description
    CodePoint codePoint
    ColorFontSupport support
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Glyph>

    GetGlyphs(CodePoint, TextAttributes, ColorFontSupport)

    Declaration
    public IEnumerable<Glyph> GetGlyphs(CodePoint codePoint, TextAttributes textAttributes, ColorFontSupport support)
    Parameters
    Type Name Description
    CodePoint codePoint
    TextAttributes textAttributes
    ColorFontSupport support
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Glyph>

    TryGetPath(out String)

    Declaration
    public bool TryGetPath(out string path)
    Parameters
    Type Name Description
    System.String path
    Returns
    Type Description
    System.Boolean
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Free 30-Day Trial Key
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronWebscraper 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 IronWebscraper free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.