System::Drawing::FontFamily::FontFamily constructor
Contents
[
Hide
]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)
| Parameter | Type | Description |
|---|---|---|
| name | const String& | A font family name |
See Also
- Class String
- Class FontFamily
- Namespace System::Drawing
- Library Aspose.Page for C++
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)
| Parameter | Type | Description |
|---|---|---|
| name | const String& | A font family name |
| font_collection | const SharedPtr<Text::FontCollection>& | The FontCollection what contains this instance. |
See Also
- Class String
- Typedef SharedPtr
- Class FontCollection
- Class FontFamily
- Namespace System::Drawing
- Library Aspose.Page for C++
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)
| Parameter | Type | Description |
|---|---|---|
| generic_family | Text::GenericFontFamilies | The GenericFontFamilies value to construct the FontFamily. |
See Also
- Enum GenericFontFamilies
- Class FontFamily
- Namespace System::Drawing
- Library Aspose.Page for C++