'...
'Create an instance of ImageElement class
Dim imgElem As Neodynamic.WebControls.ImageDraw.ImageElement
imgElem = Neodynamic.WebControls.ImageDraw.ImageElement.FromUrl("~/images/night.jpg")
'Create an instance of AdjustHSL class
Dim hsl As New Neodynamic.WebControls.ImageDraw.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.WebControls.ImageDraw.ImageElement imgElem = Neodynamic.WebControls.ImageDraw.ImageElement.FromUrl("~/images/night.jpg");
//Create an instance of AdjustHSL class
Neodynamic.WebControls.ImageDraw.AdjustHSL hsl = new Neodynamic.WebControls.ImageDraw.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);
//...