Class JSADGImage
Jurassic class for exposing image support to Javascript code. Currently only supports JSSVGImage as an image format.
Implements
Inherited Members
ObjectInstance.GetPropertyValue(PropertyReference)
ObjectInstance.ToString()
ObjectInstance.ToLocaleString()
ObjectInstance.ValueOf()
ObjectInstance.PopulateFunctions()
ObjectInstance.PopulateFields()
ObjectInstance.Engine
ObjectInstance.Prototype
ObjectInstance.Properties
ObjectInstance.OwnKeys
Namespace: Quantellia.WMServer.Execution.Model.JS
Assembly: WMServer.dll
Syntax
public class JSADGImage : ObjectInstance, IADGFormattable
Constructors
JSADGImage(ObjectInstance)
Jurassic constructor.
Declaration
public JSADGImage(ObjectInstance prototype)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectInstance | prototype |
Properties
DataType
The type that this element corresponds to. I.e. plaintext, a paragraph, an image, a table, etc...
Declaration
[JSProperty]
public string DataType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Display
DataType specific key-value pairs used to fine-tune the way the data is presented.
Declaration
public Dictionary<string, object> Display { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |
Display_ObjectInstance
DataType specific key-value pairs used to fine-tune the way the data is presented. Saved as an ObjectInstance (JS bag of values object) for use in JS. Converted to Dictionary when returned in C#
Declaration
[JSProperty(Name = "Display")]
public ObjectInstance Display_ObjectInstance { get; set; }
Property Value
| Type | Description |
|---|---|
| ObjectInstance |
Value
The value of this element. Must be a specified image type.
Declaration
[JSProperty]
public object Value { get; set; }
Property Value
| Type | Description |
|---|---|
| object |