Interface ISVGImage
All implementations of SVG graphics in World Modeler must implement this interface
Namespace: Quantellia.WMServer.Execution.Model.SVG
Assembly: WMServer.dll
Syntax
public interface ISVGImage
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
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
Dictionary<string, string> ImageData { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
MiscData
Arbitrary data.
Declaration
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
int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
XML
The raw XML of this SVG
Declaration
string XML { get; set; }
Property Value
| Type | Description |
|---|---|
| string |