## CSSPrimitiveValue.GetCounterValue method

This method is used to get the Counter value. If this CSS value doesn't contain a counter value, a DOMException is raised. Modification to the corresponding style property can be achieved using the Counter interface.

```csharp
public abstract Counter GetCounterValue()
```

### Return Value

Returns Counter value

### See Also

* class [Counter](../../counter/)
* class [CSSPrimitiveValue](../)
* namespace [Aspose.Html.Dom.Css](../../../aspose.html.dom.css/)
* assembly [Aspose.HTML](../../../)
