Interface ITrueTypeFont
Interface ITrueTypeFont
名称: Aspose.Html.Drawing 编辑: Aspose.HTML.dll (25.4.0)
宣布使用 TrueType 字体的工作方法。
[ComVisible(true)]
public interface ITrueTypeFont
Properties
DataSize
获取字体数据的尺寸为比特。
float DataSize { get; }
财产价值
FamilyName
收到字体家庭的名称。
string FamilyName { get; }
财产价值
FullFontName
全字体名称通常代表为家庭和子家庭名称的组合。
string FullFontName { get; }
财产价值
SubFamilyName
家庭名称区分字体在同一家庭名称的组中。这被认为是对待风格(意大利,模糊)和重量(光,勇敢,黑色等)。没有特定的体重或风格差异的字体应该有“正常”字符串。
string SubFamilyName { get; }
财产价值
Methods
GetAscent(航海)
通过使用指定的字体大小获得字体的升高点。
float GetAscent(float fontSize)
Parameters
fontSize
float
字体的大小。
Returns
字体在点上的上升。
GetData()
用字体数据打开流,呼叫者负责排放流。
Stream GetData()
Returns
流与字体数据。
GetDescent(航海)
通过使用指定的字体大小获得字体的下载点。
float GetDescent(float fontSize)
Parameters
fontSize
float
字体的大小。
Returns
字体在点的下降。