Aspose::Font::Sources::FontDefinition::Open 方法
FontDefinition::Open(System::SharedPtr<StreamSource>, Aspose::Font::FontType) method
返回用于字体流源和字体类型的 FontDefinition。
static System::SharedPtr<FontDefinition> Aspose::Font::Sources::FontDefinition::Open(System::SharedPtr<StreamSource> source, Aspose::Font::FontType fontType)
| 参数 | 类型 | 描述 |
|---|---|---|
| source | System::SharedPtr<StreamSource> | Font 流源。 |
| fontType | Aspose::Font::FontType | Font 类型。 |
ReturnValue
另见
- Typedef SharedPtr
- Class FontDefinition
- Class StreamSource
- Enum FontType
- Class FontDefinition
- Namespace Aspose::Font::Sources
- Library Aspose.Font for C++
FontDefinition::Open(System::String, Aspose::Font::FontType) method
返回用于字体文件和字体类型的 FontDefinition。
static System::SharedPtr<FontDefinition> Aspose::Font::Sources::FontDefinition::Open(System::String fileName, Aspose::Font::FontType fontType)
| 参数 | 类型 | 描述 |
|---|---|---|
| fileName | System::String | Font 文件名。 |
| fontType | Aspose::Font::FontType | Font 类型。 |
ReturnValue
另见
- Typedef SharedPtr
- Class FontDefinition
- Class String
- Enum FontType
- Class FontDefinition
- Namespace Aspose::Font::Sources
- Library Aspose.Font for C++