Font.Open
Contents
[
Hide
]Open(FontDefinition)
Opens a font, using FontDefinition object.
public static Font Open(FontDefinition fontDefinition)
Parameter | Type | Description |
---|---|---|
fontDefinition | FontDefinition | Font definition object. |
Return Value
Font loaded.
See Also
- class FontDefinition
- class Font
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, StreamSource)
Opens a font, using font type and stream source.
public static 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
- enum FontType
- class StreamSource
- class Font
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, string)
Opens a font, using font type and font file name.
public static Font Open(FontType fontType, string fileName)
Parameter | Type | Description |
---|---|---|
fontType | FontType | Font type. |
fileName | String | Font file name. |
Return Value
Font loaded.
See Also
- enum FontType
- class Font
- namespace Aspose.Font
- assembly Aspose.Font
Open(FontType, byte[])
Opens a font, using font type and font data byte array.
public static 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
- enum FontType
- class Font
- namespace Aspose.Font
- assembly Aspose.Font