Aspose::Page::Font::DrFont class
Contents
[
Hide
]DrFont class
Use this class instead of GDI+ Font.
class DrFont : public System::Object
Methods
Method | Description |
---|---|
Equals(System::SharedPtr<System::Object>) override | Determines whether the specified System::Object, is equal to this instance. |
get_AscentLis() | Cell ascent of this font (lis). This is a vertical distance from cell top to cell baseline. |
get_AscentPoints() | Returns the cell ascent in points. |
get_CellHeightLis() | Returns cell height of this font (lis). This is a shortcut for AscentLis + DescentLis. |
get_CellHeightPoints() | Shortcut for AscentPoints + DescentPoints. |
get_DescentLis() | Cell descent of this font (lis). This is a vertical distance from cell bottom to cell baseline. |
get_DescentPoints() | Returns the cell descent in points. |
get_FamilyName() | Gets name of this font. |
get_IsBold() | Gets a value indicating whether this instance is bold. |
get_IsItalic() | Gets a value indicating whether this instance is italic. |
get_LeadingLis() | Returns leading of this font (lis). This is a shortcut for LineSpacingLis - CellHeightLis. |
get_LeadingPoints() | Returns leading of this font (lis). This is a shortcut for LineSpacingLis - CellHeightLis. |
get_LineSpacingLis() | Returns cell spacing of this font (lis). This is a vertical distance between baselines of the two glyphs. |
get_LineSpacingPoints() | Returns cell spacing of this font (points). This is a vertical distance between baselines of the two glyphs. |
get_SizePoints() | Gets size of this font (points). |
get_SmallCapsScaleFactor() | Gets the font capitals. |
get_Style() | Gets the true type font. |
get_StyleEx() | This property contains additional information about font’s style. |
GetCharWidthLis(char16_t) | Gets the char width lis. |
GetCharWidthPoints(char16_t) | Returns width of the character (points). |
GetHashCode() const override | Returns a hash code for this instance. |
GetTextSizePoints(System::String) | Returns measurement text box of the text in points. |
GetTextWidthLis(System::String) | Gets the text width lis. |
GetTextWidthPoints(System::String) | Gets the text width points. |
GetTextWidthPoints(System::String, int32_t, int32_t) | Gets the text width points. |
static IsPoorlyRenderedByGdiPlus(System::String) | Returns True for “Microsoft Sans Serif” font. This one is poorly rendered by GDI+. See Test286 and Gemini-6959. |
Replace(System::SharedPtr<DrFont>) | Replace font content. |
set_SizePoints(float) | Gets size of this font (points). |
set_StyleEx(int16_t) | This property contains additional information about font’s style. |
See Also
- Class Object
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++