'...
'Create an instance of ImageElement class
Dim imgElem As Neodynamic.SDK.ImageElement
imgElem = Neodynamic.SDK.ImageElement.FromUrl("~/images/photo.jpg")
'Create an instance of RemovePixel class
Dim fxRemovePixel As New Neodynamic.SDK.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.SDK.ImageElement imgElem = Neodynamic.SDK.ImageElement.FromUrl("~/images/photo.jpg");
//Create an instance of RemovePixel class
Neodynamic.SDK.RemovePixel fxRemovePixel = new Neodynamic.SDK.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);
//...