SvgImageElement Class

https://w3c.github.io/svgwg/svg2-draft/embedded.html#svgimageelement

public sealed class SvgImageElement : SvgGraphicsElement
Inheritance
SvgGraphicsElement SvgImageElement

Properties

NameDescription
CrossOriginhttps://svgwg.org/svg2-draft/embedded.html#__svg__SVGImageElement__crossOrigin
HeightGets the height attribute as a SVGAnimatedLength object.
HrefGets the href attribute as a SVGAnimatedString object.
PreserveAspectRatioGets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object.
ReferrerPolicyhttps://svgwg.org/svg2-draft/embedded.html#__svg__SVGImageElement__referrerPolicy
WidthGets the width attribute as a SVGAnimatedLength object.
XGets the x attribute as a SVGAnimatedLength object.
YGets the y attribute as a SVGAnimatedLength object.

CrossOrigin

SvgElements.cs

https://svgwg.org/svg2-draft/embedded.html#__svg__SVGImageElement__crossOrigin

public string? CrossOrigin { get; set; }

Gets the height attribute as a SVGAnimatedLength object.

public SvgAnimatedLength Height { get; }

Gets the href attribute as a SVGAnimatedString object.

public SvgAnimatedString Href { get; }

PreserveAspectRatio

SvgElements.g.cs

Gets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object.

public SvgAnimatedPreserveAspectRatio PreserveAspectRatio { get; }

ReferrerPolicy

SvgElements.cs

https://svgwg.org/svg2-draft/embedded.html#__svg__SVGImageElement__referrerPolicy

public string ReferrerPolicy { get; set; }

Gets the width attribute as a SVGAnimatedLength object.

public SvgAnimatedLength Width { get; }

Gets the x attribute as a SVGAnimatedLength object.

public SvgAnimatedLength X { get; }

Gets the y attribute as a SVGAnimatedLength object.

public SvgAnimatedLength Y { get; }