---
title: "SVGDocument.GetOverrideStyle"
url: "https://reference.aspose.com/html/net/aspose.html.dom.svg/svgdocument/getoverridestyle/"
product: "Aspose.HTML for .NET API Reference"
description: "SVGDocument GetOverrideStyle method. This method is used to retrieve the override style declaration for a specified element and a specified pseudo-element"
---

## SVGDocument.GetOverrideStyle method

This method is used to retrieve the override style declaration for a specified element and a specified pseudo-element.

```csharp
public ICSSStyleDeclaration GetOverrideStyle(Element elt, string pseudoElt)
```

| Parameter | Type | Description |
| --- | --- | --- |
| elt | Element | The element whose style is to be modified. This parameter cannot be null. |
| pseudoElt | String | The pseudo-element or null if none. |

### Return Value

The override style declaration

### See Also

* interface [ICSSStyleDeclaration](../../../aspose.html.dom.css/icssstyledeclaration/)
* class [Element](../../../aspose.html.dom/element/)
* class [SVGDocument](../)
* namespace [Aspose.Html.Dom.Svg](../../../aspose.html.dom.svg/)
* assembly [Aspose.HTML](../../../)
