Class SVGOptimizationOptions
Tên không gian: Aspose.Html.Toolkit.Optimizers Tổng hợp: Aspose.HTML.dll (25.4.0)
SVGOptimizationOptions là một lớp cho các tùy chọn lưu trữ để tối ưu hóa tài liệu SVG.
[ComVisible(true)]
public class SVGOptimizationOptions
Inheritance
object ← SVGOptimizationOptions
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
SVGOptimizationTùy chọn()
Bắt đầu một trường hợp mới của lớp Aspose.Html.Toolkit.Optimizers.SVGOptimizationOptions.
public SVGOptimizationOptions()
Properties
CleanListOfValues
Nhận hoặc đặt tùy chọn để xoay đến 3 vị trí thập kỷ của các giá trị số danh sách trong các thuộc tính.
public bool CleanListOfValues { get; set; }
Giá trị bất động sản
CollapseGroups
Nhận hoặc đặt tùy chọn để sụp đổ các nhóm dư thừa. nó là ’thực tế’ theo mặc định.
public bool CollapseGroups { get; set; }
Giá trị bất động sản
PathOptimizationOptions
Nhận hoặc đặt tùy chọn Aspose.Html.Toolkit.Optimizers.SVGPathOptimizationOptions.Nếu tùy chọn này là không, thì việc tối ưu hóa yếu tố con đường sẽ không được thực hiện.
public SVGPathOptimizationOptions PathOptimizationOptions { get; set; }
Giá trị bất động sản
RemoveDescriptions
Nhận hoặc đặt tùy chọn để loại bỏ chỉ nội dung biên tập hoặc các yếu tố trống.
public bool RemoveDescriptions { get; set; }
Giá trị bất động sản
RemoveEmptyAttributes
Nhận hoặc đặt tùy chọn để loại bỏ các thuộc tính với giá trị trống. nó là ’thực tế’ theo mặc định.
public bool RemoveEmptyAttributes { get; set; }
Giá trị bất động sản
RemoveEmptyContainers
Nhận hoặc đặt tùy chọn để loại bỏ các container trống. nó là ’thực tế’ theo mặc định.
public bool RemoveEmptyContainers { get; set; }
Giá trị bất động sản
RemoveEmptyText
Nhận hoặc đặt tùy chọn để loại bỏ các yếu tố văn bản trống rỗng. nó là ’thực tế’ theo mặc định.
public bool RemoveEmptyText { get; set; }
Giá trị bất động sản
RemoveHiddenElements
Nhận hoặc đặt tùy chọn để loại bỏ các yếu tố không hiển thị trong quá trình rendering. nó là ’thực tế’ theo mặc định.
public bool RemoveHiddenElements { get; set; }
Giá trị bất động sản
RemoveIndentsAndLineBreaks
Nhận hoặc đặt tùy chọn để loại bỏ dòng indents và breaks. It is ’true’ by default.
public bool RemoveIndentsAndLineBreaks { get; set; }
Giá trị bất động sản
RemoveMetadata
Nhận hoặc đặt tùy chọn để xóa metadata. nó là ’thực tế’ theo mặc định.
public bool RemoveMetadata { get; set; }
Giá trị bất động sản
RemoveUnusedDefs
Gets of sets tùy chọn để loại bỏ nội dung của defs mà không hiển thị trực tiếp mà không có ID. Nó là ’thực tế’ theo mặc định.
public bool RemoveUnusedDefs { get; set; }
Giá trị bất động sản
RemoveUnusedNamespaces
Nhận hoặc đặt tùy chọn để loại bỏ tuyên bố không gian tên chưa sử dụng từ yếu tố SVGkhông được sử dụng trong các yếu tố hoặc thuộc tính. nó là ’thực tế’ theo mặc định.
public bool RemoveUnusedNamespaces { get; set; }
Giá trị bất động sản
RemoveUselessStrokeAndFill
Gets of sets tùy chọn để loại bỏ các cơn đau chưa được sử dụng và điền các thuộc tính. nó là ’thực tế’ theo mặc định.
public bool RemoveUselessStrokeAndFill { get; set; }