SvgImageElement Class
https://w3c.github.io/svgwg/svg2-draft/embedded.html#svgimageelement
public sealed class SvgImageElement : SvgGraphicsElement- Inheritance
SvgGraphicsElementSvgImageElement
Properties
| Name | Description |
|---|---|
| CrossOrigin | https://svgwg.org/svg2-draft/embedded.html#__svg__SVGImageElement__crossOrigin |
| Height | Gets the height attribute as a SVGAnimatedLength object. |
| Href | Gets the href attribute as a SVGAnimatedString object. |
| PreserveAspectRatio | Gets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object. |
| ReferrerPolicy | https://svgwg.org/svg2-draft/embedded.html#__svg__SVGImageElement__referrerPolicy |
| Width | Gets the width attribute as a SVGAnimatedLength object. |
| X | Gets the x attribute as a SVGAnimatedLength object. |
| Y | Gets the y attribute as a SVGAnimatedLength object. |
CrossOrigin
SvgElements.cshttps://svgwg.org/svg2-draft/embedded.html#__svg__SVGImageElement__crossOrigin
public string? CrossOrigin { get; set; }Height
SvgElements.g.csGets the height attribute as a SVGAnimatedLength object.
public SvgAnimatedLength Height { get; }Href
SvgElements.g.csGets the href attribute as a SVGAnimatedString object.
public SvgAnimatedString Href { get; }PreserveAspectRatio
SvgElements.g.csGets the preserveAspectRatio attribute as a SVGAnimatedPreserveAspectRatio object.
public SvgAnimatedPreserveAspectRatio PreserveAspectRatio { get; }ReferrerPolicy
SvgElements.cshttps://svgwg.org/svg2-draft/embedded.html#__svg__SVGImageElement__referrerPolicy
public string ReferrerPolicy { get; set; }Width
SvgElements.g.csGets 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; }