'...
'Create an instance of ImageElement class
Dim imgElem As Neodynamic.SDK.ImageElement
imgElem = Neodynamic.SDK.ImageElement.FromUrl("~/images/night.jpg")
'Create an instance of Pixelate class
Dim fxPixelate As New Neodynamic.SDK.Pixelate()
fxPixelate.PixelSize = 5
'Apply the action on the ImageElement
imgElem.Actions.Add(fxPixelate)
'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 Pixelate class
Neodynamic.SDK.Pixelate fxPixelate = new Neodynamic.SDK.Pixelate();
fxPixelate.PixelSize = 5;
//Apply the action on the ImageElement
imgElem.Actions.Add(fxPixelate);
//Add the ImageElement to the Elements collection of the ImageDraw controlthis.ImageDraw1.Elements.Add(imgElem);
//...