• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.Fonts
      • ColorFontSupport
      • Font
      • FontCollection
      • FontCollectionExtensions
      • FontDescription
      • FontException
      • FontFamily
      • FontFamilyNotFoundException
      • FontMetrics
      • FontRectangle
      • FontStyle
      • Glyph
      • GlyphBounds
      • GlyphColor
      • GlyphLayoutMode
      • GlyphMetrics
      • GlyphMissingException
      • GlyphRendererParameters
      • GlyphType
      • HintingMode
      • HorizontalAlignment
      • HorizontalMetrics
      • IColorGlyphRenderer
      • IFontCollection
      • IGlyphRenderer
      • IGlyphRendererExtensions
      • IMetricsHeader
      • InvalidFontFileException
      • InvalidFontTableException
      • IReadOnlyFontCollection
      • IReadOnlySystemFontCollection
      • KerningMode
      • LayoutMode
      • LayoutModeExtensions
      • MissingFontTableException
      • SystemFonts
      • TextAlignment
      • TextAttributes
      • TextDecorations
      • TextDirection
      • TextJustification
      • TextMeasurer
      • TextOptions
      • TextRenderer
      • TextRun
      • VerticalAlignment
      • VerticalMetrics
      • WordBreaking
    • SixLabors.Fonts.Tables.AdvancedTypographic
      • FeatureTags
      • GlyphClassDef
      • Tag
    • SixLabors.Fonts.Tables.TrueType
      • TrueTypeGlyphMetrics
    • SixLabors.Fonts.Unicode
      • ArabicJoiningClass
      • ArabicJoiningGroup
      • ArabicJoiningType
      • BidiCharacterType
      • BidiClass
      • BidiPairedBracketType
      • CodePoint
      • GraphemeClusterClass
      • IndicPositionalCategory
      • IndicSyllabicCategory
      • LineBreakClass
      • MemoryExtensions
      • ScriptClass
      • SpanCodePointEnumerator
      • SpanGraphemeEnumerator
      • VerticalOrientationType
    • SixLabors.Fonts.WellKnownIds
      • KnownNameIds

    Class FontFamilyNotFoundException

    Exception for detailing missing font families.

    Inheritance
    Object
    FontException
    FontFamilyNotFoundException
    Namespace: SixLabors.Fonts
    Assembly: SixLabors.Fonts.dll
    Syntax
    public class FontFamilyNotFoundException : FontException

    Constructors

    | Improve this Doc View Source

    FontFamilyNotFoundException(String)

    Initializes a new instance of the FontFamilyNotFoundException class.

    Declaration
    public FontFamilyNotFoundException(string family)
    Parameters
    Type Name Description
    String family

    The name of the missing font family.

    | Improve this Doc View Source

    FontFamilyNotFoundException(String, IReadOnlyCollection<String>)

    Initializes a new instance of the FontFamilyNotFoundException class.

    Declaration
    public FontFamilyNotFoundException(string family, IReadOnlyCollection<string> searchDirectories)
    Parameters
    Type Name Description
    String family

    The name of the missing font family.

    IReadOnlyCollection<String> searchDirectories

    The collection of directories that were searched for the font family. Pass an empty collection if font families were not searched in directories.

    Properties

    | Improve this Doc View Source

    FontFamily

    Gets the name of the font family that was not found.

    Declaration
    public string FontFamily { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    SearchDirectories

    Gets the collection of directories that were unsuccessfully searched for the font family.

    Declaration
    public IReadOnlyCollection<string> SearchDirectories { get; }
    Property Value
    Type Description
    IReadOnlyCollection<String>
    Remarks

    If the exception did not originate from the Collection then this property will be empty.

    See Also

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