Aspose::Font::FontFactory::Open 方法
内容
[
隐藏
]FontFactory::Open(FontType, System::ArrayPtr<uint8_t>) method
使用字体类型和字体数据字节数组打开字体。
System::SharedPtr<Font> Aspose::Font::FontFactory::Open(FontType fontType, System::ArrayPtr<uint8_t> fontData)
| 参数 | 类型 | 描述 |
|---|---|---|
| fontType | FontType | Font 类型。 |
| fontData | System::ArrayPtr<uint8_t> | 用于加载字体的字节数组。 |
ReturnValue
Font loaded.
另见
- Typedef SharedPtr
- Class Font
- Enum FontType
- Typedef ArrayPtr
- Class FontFactory
- Namespace Aspose::Font
- Library Aspose.Font for C++
FontFactory::Open(FontType, System::SharedPtr<Sources::StreamSource>) method
使用字体类型和流源打开字体。
System::SharedPtr<Font> Aspose::Font::FontFactory::Open(FontType fontType, System::SharedPtr<Sources::StreamSource> fontStreamSource)
| 参数 | 类型 | 描述 |
|---|---|---|
| fontType | FontType | Font 类型。 |
| fontStreamSource | System::SharedPtr<Sources::StreamSource> | 字体的流源。 |
ReturnValue
Font loaded.
另见
- Typedef SharedPtr
- Class Font
- Enum FontType
- Class StreamSource
- Class FontFactory
- Namespace Aspose::Font
- Library Aspose.Font for C++
FontFactory::Open(FontType, System::String) method
使用字体类型和字体文件名打开字体。
System::SharedPtr<Font> Aspose::Font::FontFactory::Open(FontType fontType, System::String fileName)
| 参数 | 类型 | 描述 |
|---|---|---|
| fontType | FontType | Font 类型。 |
| fileName | System::String | Font 文件名。 |
ReturnValue
Font loaded.
另见
- Typedef SharedPtr
- Class Font
- Enum FontType
- Class String
- Class FontFactory
- Namespace Aspose::Font
- Library Aspose.Font for C++
FontFactory::Open(System::SharedPtr<Sources::FontDefinition>) method
使用 FontDefinition 对象打开字体。
System::SharedPtr<Font> Aspose::Font::FontFactory::Open(System::SharedPtr<Sources::FontDefinition> fontDefinition)
| 参数 | 类型 | 描述 |
|---|---|---|
| fontDefinition | System::SharedPtr<Sources::FontDefinition> | Font 定义对象。 |
ReturnValue
Font loaded.
另见
- Typedef SharedPtr
- Class Font
- Class FontDefinition
- Class FontFactory
- Namespace Aspose::Font
- Library Aspose.Font for C++