Aspose::Page::Font::DrFont 类
内容
[
隐藏
]DrFont class
请使用此类来代替 GDI+ Font。
class DrFont : public System::Object
方法
| 方法 | 描述 |
|---|---|
| Equals(System::SharedPtr<System::Object>) override | 确定指定的 System::Object 是否等于此实例。 |
| get_AscentLis() | 此字体的单元上升度(lis)。这是从单元顶部到单元基线的垂直距离。 |
| get_AscentPoints() | 返回单元格上升值(以点为单位)。 |
| get_CellHeightLis() | 返回此字体的单元格高度(lis)。这是 AscentLis + DescentLis 的快捷方式。 |
| get_CellHeightPoints() | AscentPoints + DescentPoints 的快捷方式。 |
| get_DescentLis() | 此字体的单元格下降(lis)。这是从单元格底部到基线的垂直距离。 |
| get_DescentPoints() | 返回单元格下降值(以点为单位)。 |
| get_FamilyName() | 获取此字体的名称。 |
| get_IsBold() | 获取指示此实例是否为粗体的值。 |
| get_IsItalic() | 获取指示此实例是否为斜体的值。 |
| get_LeadingLis() | 返回此字体的行距(lis)。这是 LineSpacingLis - CellHeightLis 的快捷方式。 |
| get_LeadingPoints() | 返回此字体的行距(lis)。这是 LineSpacingLis - CellHeightLis 的快捷方式。 |
| get_LineSpacingLis() | 返回此字体的单元格间距(lis)。这是两个字形基线之间的垂直距离。 |
| get_LineSpacingPoints() | 返回此字体的单元格间距(点)。这是两个字形基线之间的垂直距离。 |
| get_SizePoints() | 获取此字体的大小(点)。 |
| get_SmallCapsScaleFactor() | 获取字体的大写字母。 |
| get_Style() | 获取 TrueType 字体。 |
| get_StyleEx() | 此属性包含有关字体样式的附加信息。 |
| GetCharWidthLis(char16_t) | 获取字符宽度 lis。 |
| GetCharWidthPoints(char16_t) | 返回字符的宽度(点)。 |
| GetHashCode() const override | 返回此实例的哈希码。 |
| GetTextSizePoints(System::String) | 返回文本的测量文本框(点)。 |
| GetTextWidthLis(System::String) | 获取文本宽度 lis。 |
| GetTextWidthPoints(System::String) | 获取文本宽度(点)。 |
| GetTextWidthPoints(System::String, int32_t, int32_t) | 获取文本宽度(点)。 |
| static IsPoorlyRenderedByGdiPlus(System::String) | 对 “Microsoft Sans Serif” 字体返回 True。此字体在 GDI+ 中渲染效果较差。参见 Test286 和 Gemini-6959。 |
| Replace(System::SharedPtr<DrFont>) | 替换字体内容。 |
| set_SizePoints(float) | 获取此字体的大小(点)。 |
| set_StyleEx(int16_t) | 此属性包含有关字体样式的附加信息。 |
另见
- Class Object
- Namespace Aspose::Page::Font
- Library Aspose.Page for C++