Constructor FontFamily
FontFamily(string?)
Initializes a new FontFamily with the specified name.
public FontFamily(string? name)
Parameters
name
stringThe name of the new FontFamily.
FontFamily(GenericFontFamily)
Initializes a new FontFamily from the specified generic font family.
public FontFamily(GenericFontFamily genericFamily)
Parameters
genericFamily
GenericFontFamilyThe 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
name
stringThe name of the new FontFamily.
validate
boolWhether to perform validation of the specified
name
parameter.