## ITextMetrics interface

Represents the dimension of a text in the canvas.

```csharp
public interface ITextMetrics
```

## Properties

| Name | Description |
| --- | --- |
| [Width](../../aspose.html.dom.canvas/itextmetrics/width/) { get; } | Is a double giving the calculated width of a segment of inline text in CSS pixels. |

### See Also

* namespace [Aspose.Html.Dom.Canvas](../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../)
