---
title: "SVGForeignObjectElement.X"
url: "https://reference.aspose.com/html/net/aspose.html.dom.svg/svgforeignobjectelement/x/"
product: "Aspose.HTML for .NET API Reference"
description: "SVGForeignObjectElement X property. Corresponds to attribute x on the given foreignObject element"
---

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