Class FontFamilyNotFoundException
Exception for detailing missing font families.
public class FontFamilyNotFoundException : FontException, ISerializable
- Inheritance
-
FontFamilyNotFoundException
- Implements
- Inherited Members
Constructors
FontFamilyNotFoundException(string)
Initializes a new instance of the FontFamilyNotFoundException class.
public FontFamilyNotFoundException(string family)
Parameters
familystringThe name of the missing font family.
FontFamilyNotFoundException(string, IReadOnlyCollection<string>)
Initializes a new instance of the FontFamilyNotFoundException class.
public FontFamilyNotFoundException(string family, IReadOnlyCollection<string> searchDirectories)
Parameters
familystringThe name of the missing font family.
searchDirectoriesIReadOnlyCollection<string>The collection of directories that were searched for the font family. Pass an empty collection if font families were not searched in directories.
Properties
FontFamily
Gets the name of the font family that was not found.
public string FontFamily { get; }
Property Value
SearchDirectories
Gets the collection of directories that were unsuccessfully searched for the font family.
public IReadOnlyCollection<string> SearchDirectories { get; }
Property Value
Remarks
If the exception did not originate from the Collection then this property will be empty.