ITrueTypeFont Interface
Contents
[
Hide
]ITrueTypeFont interface
Declares methods for working with TrueType fonts.
public interface ITrueTypeFont
Properties
Name | Description |
---|---|
DataSize { get; } | Gets the size of the font data in bytes. |
FamilyName { get; } | Gets the name of the font family. |
FontData { get; } | Gets the font data associated with the TrueType font. See IFontData. |
FullFontName { get; } | Full font name is generally represented as combination of Family and Subfamily names. |
Style { get; } | Gets the style of the font. |
SubFamilyName { get; } | The Subfamily name distinguishes the font in a group with the same Family name. This is assumed to address style (italic, oblique) and weight (light, bold, black, etc.). A font with no particular differences in weight or style should have the string “Regular”. |
Methods
Name | Description |
---|---|
GetAscent(float) | Gets the ascent of the font in points using the specified font size. |
GetData() | Opens the stream with the font data. The caller is responsible for disposing the stream. |
GetDescent(float) | Gets the descent of the font in points using the specified font size. |
See Also
- namespace Aspose.Svg.Drawing
- assembly Aspose.SVG