
## width property


Is a double giving the calculated width of a segment of inline text in CSS pixels.
### Definition:
```python
@property
def width(self):
    ...
```

### See Also
* module [`aspose.html.dom.canvas`](../../)
* class [`ITextMetrics`](/html/python-net/aspose.html.dom.canvas/itextmetrics)
