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