FontDefinition.Open
Open(string, FontType)
Returns FontDefinition for font file and font type.
public static FontDefinition Open(string fileName, FontType fontType)
Parameter | Type | Description |
---|---|---|
fileName | String | Font file name. |
fontType | FontType | Font type. |
Return Value
FontDefinition.
See Also
- enum FontType
- class FontDefinition
- namespace Aspose.Font.Sources
- assembly Aspose.Font
Open(StreamSource, FontType)
Returns FontDefinition for font stream source and font type.
public static FontDefinition Open(StreamSource source, FontType fontType)
Parameter | Type | Description |
---|---|---|
source | StreamSource | Font stream source. |
fontType | FontType | Font type. |
Return Value
FontDefinition.
See Also
- class StreamSource
- enum FontType
- class FontDefinition
- namespace Aspose.Font.Sources
- assembly Aspose.Font