---
title: "SVGOptimizationOptions.RemoveUnusedDefs"
url: "https://reference.aspose.com/html/net/aspose.html.toolkit.optimizers/svgoptimizationoptions/removeunuseddefs/"
product: "Aspose.HTML for .NET API Reference"
description: "SVGOptimizationOptions RemoveUnusedDefs property. Gets of sets the option to remove the content of defs that are not displayed directly without identifiers. It is true by default"
---

## SVGOptimizationOptions.RemoveUnusedDefs property

Gets of sets the option to remove the content of defs that are not displayed directly without identifiers. It is 'true' by default.

```csharp
public bool RemoveUnusedDefs { get; set; }
```

### See Also

* class [SVGOptimizationOptions](../)
* namespace [Aspose.Html.Toolkit.Optimizers](../../../aspose.html.toolkit.optimizers/)
* assembly [Aspose.HTML](../../../)
