'...
'Create an instance of ImageElement class
Dim imgElem As Neodynamic.WebControls.ImageDraw.ImageElement
imgElem = Neodynamic.WebControls.ImageDraw.ImageElement.FromUrl("~/images/photo.jpg")
'Create an instance of RemovePixel class
Dim fxRemovePixel As New Neodynamic.WebControls.ImageDraw.RemovePixel()
fxRemovePixel.Color = Color.FromArgb(202, 185, 167)
fxRemovePixel.ColorTolerance = 10
'Apply the action on the ImageElement
imgElem.Actions.Add(fxRemovePixel)
'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/photo.jpg");
//Create an instance of RemovePixel class
Neodynamic.WebControls.ImageDraw.RemovePixel fxRemovePixel = new Neodynamic.WebControls.ImageDraw.RemovePixel();
fxRemovePixel.Color = Color.FromArgb(202, 185, 167);
fxRemovePixel.ColorTolerance = 10;
//Apply the action on the ImageElement
imgElem.Actions.Add(fxRemovePixel);
//Add the ImageElement to the Elements collection of the ImageDraw controlthis.ImageDraw1.Elements.Add(imgElem);
//...