FontFamily()

FontFamily::FontFamily(const String&) constructor

Constructs a new instance of FontFamily class that represents a font family with the specified name.

System::Drawing::FontFamily::FontFamily(const String &name)

Arguments

ParameterTypeDescription
nameconst String&A font family name

FontFamily::FontFamily(const String&, const SharedPtr<Text::FontCollection>&) constructor

Constructs a new instance of FontFamily in the specified FontCollection with the specified name.

System::Drawing::FontFamily::FontFamily(const String &name, const SharedPtr<Text::FontCollection> &font_collection)

Arguments

ParameterTypeDescription
nameconst String&A font family name
font_collectionconst SharedPtr<Text::FontCollection>&The FontCollection what contains this instance.

FontFamily::FontFamily(Text::GenericFontFamilies) constructor

Constructs a new instance of FontFamily from the specified generic font family.

System::Drawing::FontFamily::FontFamily(Text::GenericFontFamilies generic_family)

Arguments

ParameterTypeDescription
generic_familyText::GenericFontFamiliesThe GenericFontFamilies value to construct the FontFamily.

See Also