• 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
      • IReadOnlyFontCollection
      • IReadOnlySystemFontCollection
      • InvalidFontFileException
      • InvalidFontTableException
      • 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
    Exception
    FontException
    FontFamilyNotFoundException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: SixLabors.Fonts
    Assembly: SixLabors.Fonts.dll
    Syntax
    public class FontFamilyNotFoundException : FontException, ISerializable

    Constructors

    | Edit this page 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.

    | Edit this page 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

    | Edit this page View Source

    FontFamily

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

    Declaration
    public string FontFamily { get; }
    Property Value
    Type Description
    string
    | Edit this page 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.

    Implements

    ISerializable

    See Also

    FontException
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX