'...
'Create an instance of ImageElement class
Dim imgElem As Neodynamic.SDK.ImageElement
imgElem = Neodynamic.SDK.ImageElement.FromUrl("~/images/night.jpg")
'Create an instance of AdjustHSL class
Dim hsl As New Neodynamic.SDK.AdjustHSL()
hsl.Hue = -50
hsl.Saturation = 20
hsl.Lightness = 50
'Apply the action on the ImageElement
imgElem.Actions.Add(hsl)
'Add the ImageElement to the Elements collection of the ImageDraw control
Me.ImageDraw1.Elements.Add(imgElem)
'...
//...
//Create an instance of ImageElement class
Neodynamic.SDK.ImageElement imgElem = Neodynamic.SDK.ImageElement.FromUrl("~/images/night.jpg");
//Create an instance of AdjustHSL class
Neodynamic.SDK.AdjustHSL hsl = new Neodynamic.SDK.AdjustHSL();
hsl.Hue = -50;
hsl.Saturation = 20;
hsl.Lightness = 50;
//Apply the action on the ImageElement
imgElem.Actions.Add(hsl);
//Add the ImageElement to the Elements collection of the ImageDraw controlthis.ImageDraw1.Elements.Add(imgElem);
//...