
## ITextMetrics class

Represents the dimension of a text in the canvas.



The ITextMetrics type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [width](/html/python-net/aspose.html.dom.canvas/itextmetrics/width) | Is a double giving the calculated width of a segment of inline text in CSS pixels. |



### See Also
* module [`aspose.html.dom.canvas`](..)
