Interface ITextMetrics
Interface ITextMetrics
Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML.dll (25.1.0)
表示画布中文本的维度。
[ComVisible(true)]
[DOMObject]
[DOMName("TextMetrics")]
public interface ITextMetrics
属性
宽度
是一个 double,给出在 CSS 像素中计算得到的内联文本段的宽度。
[DOMName("width")]
double Width { get; }