Table of Contents

Enum ViewBoxMode

Namespace
SharpVectors.Renderers.Wpf
Assembly
SharpVectors.Rendering.Wpf.dll

Specifies how the viewbox dimensions should be determined when rendering SVG.

[Serializable]
public enum ViewBoxMode

Fields

Strict = 0

Uses the explicitly declared viewBox and width/height attributes from the SVG root element. This is the strict SVG specification approach. This was the default behavior before version 1.8.4.

ComputedUnion = 1

Uses the computed union of all rendered element bounds. This provides the true visual footprint of the rendered content. This is the default behavior starting from version 1.8.4.