DevToys logo DevToys
  • Home
  • Blog
  • Documentation
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FontDefinition

    Represents a font definition.

    Inheritance
    object
    FontDefinition
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DevToys.Api
    Assembly: DevToys.Api.dll
    Syntax
    public sealed class FontDefinition : IDisposable

    Constructors

    FontDefinition(string, Stream)

    Initializes a new instance of the FontDefinition class.

    Declaration
    public FontDefinition(string fontFamily, Stream fontReader)
    Parameters
    Type Name Description
    string fontFamily

    The font family.

    Stream fontReader

    The stream to read the font file.

    Properties

    FontFamily

    Gets the font family.

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

    FontReader

    Gets the stream to read the font file.

    Declaration
    public Stream FontReader { get; }
    Property Value
    Type Description
    Stream

    Methods

    Dispose()

    Disposes the font reader.

    Declaration
    public void Dispose()

    Implements

    IDisposable

    Extension Methods

    LoggingExtensions.Log<T>(T)
    In this article
    DevToys logo © 2024 DevToys