Show / Hide Table of Contents

Class SVGImage

All implementations of SVG graphics in World Modeler must implement this interface

Inheritance
object
SVGImage
Implements
ISVGImage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Execution.Model.SVG
Assembly: WMServer.dll
Syntax
public class SVGImage : ISVGImage

Constructors

SVGImage(ISVGImage)

Standard constructor. Must come from one that already exists.

Declaration
public SVGImage(ISVGImage image)
Parameters
Type Name Description
ISVGImage image

Properties

Height

The height in pixels this SVG should be rasterized to. Can be set to zero to maintain aspect ratio if Width is non-zero.

Declaration
public int Height { get; set; }
Property Value
Type Description
int

ImageData

Contains pairs of image names "someImage.png" to their base64 string representations. Any locations in the raw XML with "someImage.png" will be replaced with a temporary unique file saved on the local device, and deleted after the SVG is rasterized.

Declaration
public Dictionary<string, string> ImageData { get; set; }
Property Value
Type Description
Dictionary<string, string>

MiscData

Arbitrary data.

Declaration
public Dictionary<string, object> MiscData { get; set; }
Property Value
Type Description
Dictionary<string, object>

Width

The width in pixels this SVG should be rasterized to. Can be set to zero to maintain aspect ratio if Height is non-zero.

Declaration
public int Width { get; set; }
Property Value
Type Description
int

XML

The raw XML of this SVG

Declaration
public string XML { get; set; }
Property Value
Type Description
string

Implements

ISVGImage

Extension Methods

WMSVGRenderer.Rasterize(ISVGImage)
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 11/16/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE