System::Drawing::FontFamily::FontFamily 构造函数
FontFamily::FontFamily(const String&) constructor
构造一个新的 FontFamily 类实例,该实例表示具有指定名称的字体系列。
System::Drawing::FontFamily::FontFamily(const String &name)
| 参数 | 类型 | 描述 |
|---|---|---|
| 名称 | const String& | 字体系列名称 |
另见
- Class String
- Class FontFamily
- Namespace System::Drawing
- Library Aspose.Font for C++
FontFamily::FontFamily(const String&, const SharedPtr<Text::FontCollection>&) constructor
在指定的 FontCollection 中构造一个新的 FontFamily 实例,使用指定的名称。
System::Drawing::FontFamily::FontFamily(const String &name, const SharedPtr<Text::FontCollection> &font_collection)
| 参数 | 类型 | 描述 |
|---|---|---|
| 名称 | const String& | 字体系列名称 |
| font_collection | const SharedPtr<Text::FontCollection>& | 包含此实例的 FontCollection。 |
另见
- Class String
- Typedef SharedPtr
- Class FontCollection
- Class FontFamily
- Namespace System::Drawing
- Library Aspose.Font for C++
FontFamily::FontFamily(Text::GenericFontFamilies) constructor
从指定的通用字体系列构造一个新的 FontFamily 实例。
System::Drawing::FontFamily::FontFamily(Text::GenericFontFamilies generic_family)
| 参数 | 类型 | 描述 |
|---|---|---|
| generic_family | Text::GenericFontFamilies | 用于构造 FontFamily 的 GenericFontFamilies 值。 |
另见
- Enum GenericFontFamilies
- Class FontFamily
- Namespace System::Drawing
- Library Aspose.Font for C++