Constructor FontFamily
FontFamily(string?)
Initializes a new FontFamily with the specified name.
public FontFamily(string? name)
Parameters
namestringThe name of the new FontFamily.
FontFamily(GenericFontFamily)
Initializes a new FontFamily from the specified generic font family.
public FontFamily(GenericFontFamily genericFamily)
Parameters
genericFamilyGenericFontFamilyThe GenericFontFamily from which to create the new FontFamily.
FontFamily(string?, bool)
Initializes a new FontFamily with the specified name.
public FontFamily(string? name, bool validate)
Parameters
namestringThe name of the new FontFamily.
validateboolWhether to perform validation of the specified
nameparameter.