FontFactory.Open
Contents
[
Hide
]Open(FontDefinition)
Opens a font, using FontDefinition object.
public Font Open(FontDefinition fontDefinition)
Parameter | Type | Description |
---|---|---|
fontDefinition | FontDefinition | Font definition object. |
Return Value
Font loaded.
See Also
- class Font
- class FontDefinition
- class FontFactory
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, StreamSource)
Opens a font, using font type and stream source.
public Font Open(FontType fontType, StreamSource fontStreamSource)
Parameter | Type | Description |
---|---|---|
fontType | FontType | Font type. |
fontStreamSource | StreamSource | Stream source for font. |
Return Value
Font loaded.
See Also
- class Font
- enum FontType
- class StreamSource
- class FontFactory
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, string)
Opens a font, using font type and font file name.
public Font Open(FontType fontType, string fileName)
Parameter | Type | Description |
---|---|---|
fontType | FontType | Font type. |
fileName | String | Font file name. |
Return Value
Font loaded.
See Also
- class Font
- enum FontType
- class FontFactory
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, byte[])
Opens a font, using font type and font data byte array.
public Font Open(FontType fontType, byte[] fontData)
Parameter | Type | Description |
---|---|---|
fontType | FontType | Font type. |
fontData | Byte[] | Byte array to load font from. |
Return Value
Font loaded.
See Also
- class Font
- enum FontType
- class FontFactory
- namespace Aspose.Font
- assembly Aspose.Font