## SVGOptimizationOptions class

SVGOptimizationOptions is a class for storing options for optimizing SVG documents.

```csharp
public class SVGOptimizationOptions
```

## Constructors

| Name | Description |
| --- | --- |
| [SVGOptimizationOptions](svgoptimizationoptions/)() | Initializes a new instance of the `SVGOptimizationOptions` class. |

## Properties

| Name | Description |
| --- | --- |
| [CleanListOfValues](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/cleanlistofvalues/) { get; set; } | Gets or sets the option for rounding to 3 decimal places of list numeric values in attributes. It is 'true' by default. |
| [CollapseGroups](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/collapsegroups/) { get; set; } | Gets or sets the option to collapse excess groups. It is 'true' by default. |
| [PathOptimizationOptions](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/pathoptimizationoptions/) { get; set; } | Gets or sets the option [`SVGPathOptimizationOptions`](../svgpathoptimizationoptions/). If this option is null, then path element optimization will not be performed. |
| [RemoveDescriptions](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removedescriptions/) { get; set; } | Gets or sets the option to remove only editors content or empty elements. It is 'true' by default. |
| [RemoveEmptyAttributes](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removeemptyattributes/) { get; set; } | Gets or sets the option to remove attributes with empty values. It is 'true' by default. |
| [RemoveEmptyContainers](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removeemptycontainers/) { get; set; } | Gets or sets the option to remove empty containers. It is 'true' by default. |
| [RemoveEmptyText](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removeemptytext/) { get; set; } | Gets or sets the option to remove empty Text elements. It is 'true' by default. |
| [RemoveHiddenElements](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removehiddenelements/) { get; set; } | Gets or sets the option to remove elements that are not visible during rendering. It is 'true' by default. |
| [RemoveIndentsAndLineBreaks](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removeindentsandlinebreaks/) { get; set; } | Gets or sets the option to remove line indents and breaks. It is 'true' by default. |
| [RemoveMetadata](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removemetadata/) { get; set; } | Gets or sets the option to remove metadata. It is 'true' by default. |
| [RemoveUnusedDefs](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removeunuseddefs/) { get; set; } | Gets of sets the option to remove the content of defs that are not displayed directly without identifiers. It is 'true' by default. |
| [RemoveUnusedNamespaces](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removeunusednamespaces/) { get; set; } | Gets or sets the option to remove the declaration of unused namespaces from the SVG element that are not used in elements or attributes. It is 'true' by default. |
| [RemoveUselessStrokeAndFill](../../aspose.html.toolkit.optimizers/svgoptimizationoptions/removeuselessstrokeandfill/) { get; set; } | Gets of sets the option to remove unused stroke and fill attributes. It is 'true' by default. |

### See Also

* namespace [Aspose.Html.Toolkit.Optimizers](../../aspose.html.toolkit.optimizers/)
* assembly [Aspose.HTML](../../)
