'...
'Create an instance of ImageElement class
Dim imgElem As Neodynamic.SDK.ImageElement
imgElem = Neodynamic.SDK.ImageElement.FromUrl("~/images/night.jpg")
'Create an instance of ConvertToGrayscale class
Dim grayscale As New Neodynamic.SDK.ConvertToGrayscale()
'Apply the action on the ImageElement
imgElem.Actions.Add(grayscale)
'Add the ImageElement to the Elements collection of the ImageDraw object
Dim objImageDraw As New Neodynamic.SDK.ImageDraw()
objImageDraw.Elements.Add(imgElem)
'...
//...
//Create an instance of ImageElement class
Neodynamic.SDK.ImageElement imgElem = Neodynamic.SDK.ImageElement.FromUrl("~/images/night.jpg");
//Create an instance of ConvertToGrayscale class
Neodynamic.SDK.ConvertToGrayscale grayscale = new Neodynamic.SDK.ConvertToGrayscale();
//Apply the action on the ImageElement
imgElem.Actions.Add(grayscale);
//Add the ImageElement to the Elements collection of the ImageDraw object
Neodynamic.SDK.ImageDraw objImageDraw = new Neodynamic.SDK.ImageDraw();
objImageDraw.Elements.Add(imgElem);
//...