Class SVGOptimizationOptions
Nazwa przestrzeń: Aspose.Html.Toolkit.Optimizers Zestaw: Aspose.HTML.dll (25.4.0)
SVGOptimizationOptions jest klasą opcji przechowywania w celu optymalizacji dokumentów SVG.
[ComVisible(true)]
public class SVGOptimizationOptions
Inheritance
object ← SVGOptimizationOptions
Dziedziczeni członkowie
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Opcje optymalizacji()
Inicjalizuje nową instancję klasy Aspose.Html.Toolkit.Optimizers.SVGOptimizationOptions.
public SVGOptimizationOptions()
Properties
CleanListOfValues
Otrzymuje lub ustawia opcję okrążenia do 3 dziesiątkowych miejsc listy wartości liczbowych w atrybutach.
public bool CleanListOfValues { get; set; }
Wartość nieruchomości
CollapseGroups
Otrzymuje lub ustawia opcję kolapsu grup nadwyżek. Jest to “prawdziwe” według domyślności.
public bool CollapseGroups { get; set; }
Wartość nieruchomości
PathOptimizationOptions
Uzyskaj lub ustaw opcję Aspose.Html.Toolkit.Optimizers.SVGPathOptimizationOptions.Jeśli ta opcja jest zero, optymalizacja elementu ścieżki nie zostanie wykonana.
public SVGPathOptimizationOptions PathOptimizationOptions { get; set; }
Wartość nieruchomości
RemoveDescriptions
Otrzymuje lub ustawia opcję usunięcia tylko treści edytorów lub pustych elementów.
public bool RemoveDescriptions { get; set; }
Wartość nieruchomości
RemoveEmptyAttributes
Otrzymuje lub ustawia opcję usunięcia atrybutów z pustymi wartościami.
public bool RemoveEmptyAttributes { get; set; }
Wartość nieruchomości
RemoveEmptyContainers
Otrzymuje lub ustawia opcję usunięcia pustych kontenerów. jest to “prawdziwe” wstępnie.
public bool RemoveEmptyContainers { get; set; }
Wartość nieruchomości
RemoveEmptyText
Otrzymuje lub ustawia opcję usunięcia pustych elementów tekstu. jest to “prawdziwe” według domyślności.
public bool RemoveEmptyText { get; set; }
Wartość nieruchomości
RemoveHiddenElements
Otrzymuje lub ustawia opcję usunięcia elementów, które nie są widoczne podczas renderowania.
public bool RemoveHiddenElements { get; set; }
Wartość nieruchomości
RemoveIndentsAndLineBreaks
Otrzymuje lub ustawia opcję usunięcia wskaźników linii i pęknięć. jest “prawdziwy” wstępnie.
public bool RemoveIndentsAndLineBreaks { get; set; }
Wartość nieruchomości
RemoveMetadata
Otrzymuje lub ustawia opcję usunięcia metadanych. jest to “prawdziwe” wstępnie.
public bool RemoveMetadata { get; set; }
Wartość nieruchomości
RemoveUnusedDefs
Gets of sets jest opcją usunięcia treści defs, które nie są wyświetlane bezpośrednio bez identyfikatorów.
public bool RemoveUnusedDefs { get; set; }
Wartość nieruchomości
RemoveUnusedNamespaces
Otrzymuje lub ustawia opcję usunięcia deklaracji nieużywanych przestrzeni nazwowych z elementu SVGktóre nie są używane w elementach lub atrybutach. jest to “prawdziwe” według standardów.
public bool RemoveUnusedNamespaces { get; set; }
Wartość nieruchomości
RemoveUselessStrokeAndFill
Gets of ustawia opcję usunięcia nieużywanych wstrząsów i wypełnić atrybuty.
public bool RemoveUselessStrokeAndFill { get; set; }