'...
'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 ConvertToNegative class
Dim negative As New Neodynamic.WebControls.ImageDraw.ConvertToNegative()
'Apply the action on the ImageElement
imgElem.Actions.Add(negative)
'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 ConvertToNegative class
Neodynamic.WebControls.ImageDraw.ConvertToNegative negative = new Neodynamic.WebControls.ImageDraw.ConvertToNegative();
//Apply the action on the ImageElement
imgElem.Actions.Add(negative);
//Add the ImageElement to the Elements collection of the ImageDraw controlthis.ImageDraw1.Elements.Add(imgElem);
//...