---
title: "SVGRect.Width"
url: "https://reference.aspose.com/html/net/aspose.html.dom.svg.datatypes/svgrect/width/"
product: "Aspose.HTML for .NET API Reference"
description: "SVGRect Width property. The Width coordinate of the rectangle in user units"
---

## SVGRect.Width property

The Width coordinate of the rectangle, in user units.

```csharp
public float Width { get; set; }
```

### Property Value

The Width coordinate of the rectangle, in user units.

### Exceptions

| exception | condition |
| --- | --- |
| [DOMException](../../../aspose.html.dom/domexception/) | Code [`NO_MODIFICATION_ALLOWED_ERR`](../../../aspose.html.dom/domexception/no_modification_allowed_err/) Raised when the rectangle corresponds to a read only attribute or when the object itself is read only. |

### See Also

* class [SVGRect](../)
* namespace [Aspose.Html.Dom.Svg.DataTypes](../../../aspose.html.dom.svg.datatypes/)
* assembly [Aspose.HTML](../../../)
