Class SVGOptimizationOptions
Namespace: Aspose.Html.Toolkit.Optimizers
Assembly: Aspose.HTML.dll (25.2.0)
SVGOptimizationOptions is a class for storing options for optimizing SVG documents.
[ComVisible(true)]
public class SVGOptimizationOptions
Inheritance
object ← SVGOptimizationOptions
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
SVGOptimizationOptions()
Initializes a new instance of the Aspose.Html.Toolkit.Optimizers.SVGOptimizationOptions class.
public SVGOptimizationOptions()
Properties
CleanListOfValues
Gets or sets the option for rounding to 3 decimal places of list numeric values in attributes. It is ’true’ by default.
public bool CleanListOfValues { get; set; }
Property Value
CollapseGroups
Gets or sets the option to collapse excess groups. It is ’true’ by default.
public bool CollapseGroups { get; set; }
Property Value
PathOptimizationOptions
Gets or sets the option Aspose.Html.Toolkit.Optimizers.SVGPathOptimizationOptions. If this option is null, then path element optimization will not be performed.
public SVGPathOptimizationOptions PathOptimizationOptions { get; set; }
Property Value
RemoveDescriptions
Gets or sets the option to remove only editors content or empty elements. It is ’true’ by default.
public bool RemoveDescriptions { get; set; }
Property Value
RemoveEmptyAttributes
Gets or sets the option to remove attributes with empty values. It is ’true’ by default.
public bool RemoveEmptyAttributes { get; set; }
Property Value
RemoveEmptyContainers
Gets or sets the option to remove empty containers. It is ’true’ by default.
public bool RemoveEmptyContainers { get; set; }
Property Value
RemoveEmptyText
Gets or sets the option to remove empty Text elements. It is ’true’ by default.
public bool RemoveEmptyText { get; set; }
Property Value
RemoveHiddenElements
Gets or sets the option to remove elements that are not visible during rendering. It is ’true’ by default.
public bool RemoveHiddenElements { get; set; }
Property Value
RemoveIndentsAndLineBreaks
Gets or sets the option to remove line indents and breaks. It is ’true’ by default.
public bool RemoveIndentsAndLineBreaks { get; set; }
Property Value
RemoveMetadata
Gets or sets the option to remove metadata. It is ’true’ by default.
public bool RemoveMetadata { get; set; }
Property Value
RemoveUnusedDefs
Gets of sets the option to remove the content of defs that are not displayed directly without identifiers. It is ’true’ by default.
public bool RemoveUnusedDefs { get; set; }
Property Value
RemoveUnusedNamespaces
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.
public bool RemoveUnusedNamespaces { get; set; }
Property Value
RemoveUselessStrokeAndFill
Gets of sets the option to remove unused stroke and fill attributes. It is ’true’ by default.
public bool RemoveUselessStrokeAndFill { get; set; }