---
title: "ISVGFitToViewBox.ViewBox"
url: "https://reference.aspose.com/html/java/com.aspose.html.dom.svg/isvgfittoviewbox/viewbox/"
product: "Aspose.HTML for Java API Reference"
description: "ISVGFitToViewBox property. Corresponds to attribute viewBox on the given element"
---

## ISVGFitToViewBox.ViewBox property

Corresponds to attribute ‘viewBox’ on the given element.

```java
public SVGAnimatedRect ViewBox { get; }
```

### Property Value

The ‘viewBox’ of the given element.

### See Also

* class [SVGAnimatedRect](../../../com.aspose.html.dom.svg.datatypes/svganimatedrect/)
* interface [ISVGFitToViewBox](../)
* package [com.aspose.html.dom.svg](../../../com.aspose.html.dom.svg/)
* package [Aspose.HTML](../../../)
