• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.Fonts
      • ColorFontSupport
      • Font
      • FontCollection
      • FontDescription
      • FontFamily
      • FontFamilyCollectionExtensions
      • FontInstance
      • FontRectangle
      • FontStyle
      • Glyph
      • GlyphColor
      • GlyphInstance
      • GlyphMetric
      • GlyphRendererParameters
      • GlyphType
      • HorizontalAlignment
      • IColorGlyphRenderer
      • IFontCollection
      • IFontInstance
      • IGlyphRenderer
      • IGlyphRendererExtensions
      • IReadOnlyFontCollection
      • IReadonlyFontCollectionExtensions
      • RendererOptions
      • SystemFonts
      • TextMeasurer
      • TextRenderer
      • VerticalAlignment
    • SixLabors.Fonts.Exceptions
      • FontException
      • FontFamilyNotFoundException
      • GlyphMissingException
      • InvalidFontFileException
      • InvalidFontTableException
      • MissingFontTableException

    Interface IFontCollection

    A readable and writable collection of fonts.

    Inherited Members
    IReadOnlyFontCollection.Families
    IReadOnlyFontCollection.FamiliesByCulture(CultureInfo)
    IReadOnlyFontCollection.Find(String, CultureInfo)
    IReadOnlyFontCollection.TryFind(String, CultureInfo, FontFamily)
    IReadOnlyFontCollection.Find(String)
    IReadOnlyFontCollection.TryFind(String, FontFamily)
    Namespace: SixLabors.Fonts
    Assembly: SixLabors.Fonts.dll
    Syntax
    public interface IFontCollection : IReadOnlyFontCollection

    Methods

    | Improve this Doc View Source

    Install(Stream)

    Installs the specified font stream.

    Declaration
    FontFamily Install(Stream fontStream)
    Parameters
    Type Name Description
    Stream fontStream

    The font stream.

    Returns
    Type Description
    FontFamily

    the description of the font just loaded.

    Extension Methods

    IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, Single, FontStyle)
    IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, Single)
    IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, CultureInfo, Single, FontStyle)
    IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, CultureInfo, Single)

    See Also

    IReadOnlyFontCollection
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX