---
title: "SVGLinearGradientElement.X2"
url: "https://reference.aspose.com/html/net/aspose.html.dom.svg/svglineargradientelement/x2/"
product: "Aspose.HTML for .NET API Reference"
description: "SVGLinearGradientElement X2 property. Corresponds to attribute x2 on the given linearGradient element"
---

## SVGLinearGradientElement.X2 property

Corresponds to attribute ‘x2’ on the given ‘linearGradient’ element.

```csharp
public SVGAnimatedLength X2 { get; }
```

### Property Value

The attribute ‘x2’ of the given ‘linearGradient’ element.

### See Also

* class [SVGAnimatedLength](../../../aspose.html.dom.svg.datatypes/svganimatedlength/)
* class [SVGLinearGradientElement](../)
* namespace [Aspose.Html.Dom.Svg](../../../aspose.html.dom.svg/)
* assembly [Aspose.HTML](../../../)
