Aspose::Font::Font::Open method
Contents
[
Hide
]Font::Open(System::SharedPtr<Aspose::Font::Sources::FontDefinition>) method
Opens a font, using FontDefinition object.
static System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open(System::SharedPtr<Aspose::Font::Sources::FontDefinition> fontDefinition)
Parameter | Type | Description |
---|---|---|
fontDefinition | System::SharedPtr<Aspose::Font::Sources::FontDefinition> | Font definition object. |
ReturnValue
Font loaded.
See Also
- Typedef SharedPtr
- Class Font
- Class FontDefinition
- Class Font
- Namespace Aspose::Font
- Library Aspose.Font for C++
Font::Open(Aspose::Font::FontType, System::SharedPtr<Sources::StreamSource>) method
Opens a font, using font type and stream source.
static System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open(Aspose::Font::FontType fontType, System::SharedPtr<Sources::StreamSource> fontStreamSource)
Parameter | Type | Description |
---|---|---|
fontType | Aspose::Font::FontType | Font type. |
fontStreamSource | System::SharedPtr<Sources::StreamSource> | Stream source for font. |
ReturnValue
Font loaded.
See Also
- Typedef SharedPtr
- Class Font
- Enum FontType
- Class StreamSource
- Class Font
- Namespace Aspose::Font
- Library Aspose.Font for C++
Font::Open(Aspose::Font::FontType, System::String) method
Opens a font, using font type and font file name.
static System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open(Aspose::Font::FontType fontType, System::String fileName)
Parameter | Type | Description |
---|---|---|
fontType | Aspose::Font::FontType | Font type. |
fileName | System::String | Font file name. |
ReturnValue
Font loaded.
See Also
- Typedef SharedPtr
- Class Font
- Enum FontType
- Class String
- Class Font
- Namespace Aspose::Font
- Library Aspose.Font for C++
Font::Open(Aspose::Font::FontType, System::ArrayPtr<uint8_t>) method
Opens a font, using font type and font data byte array.
static System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open(Aspose::Font::FontType fontType, System::ArrayPtr<uint8_t> fontData)
Parameter | Type | Description |
---|---|---|
fontType | Aspose::Font::FontType | Font type. |
fontData | System::ArrayPtr<uint8_t> | Byte array to load font from. |
ReturnValue
Font loaded.
See Also
- Typedef SharedPtr
- Class Font
- Enum FontType
- Typedef ArrayPtr
- Class Font
- Namespace Aspose::Font
- Library Aspose.Font for C++