SvgViewElement Class

https://w3c.github.io/svgwg/svg2-draft/linking.html#svgviewelement

public sealed class SvgViewElement : SvgElement
Inheritance
SvgElement SvgViewElement

Properties

NameDescription
PreserveAspectRatioGets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object.
ViewBoxGets the viewBox attribute as a SVGAnimatedRect object.

PreserveAspectRatio

SvgElements.g.cs

Gets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object.

public SvgAnimatedPreserveAspectRatio PreserveAspectRatio { get; }

Gets the viewBox attribute as a SVGAnimatedRect object.

public SvgAnimatedRect ViewBox { get; }