## HTMLElement.OffsetWidth property

Gets the layout width of the element in pixels.

```csharp
public int OffsetWidth { get; }
```

### Property Value

The width of the element in pixels. If the width cannot be determined, returns `0`.

### See Also

* class [HTMLElement](../)
* namespace [Aspose.Html](../../../aspose.html/)
* assembly [Aspose.HTML](../../../)
