'...
'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 AdjustGamma class
Dim adjGamma As New Neodynamic.WebControls.ImageDraw.AdjustGamma()
'Set the gamma correction value
adjGamma.Gamma = 70
'Apply the action on the ImageElement
imgElem.Actions.Add(adjGamma)
'Add the ImageElement to the Elements collection of the ImageDraw control
Me.ImageDraw1.Elements.Add(imgElem)
'Add the TextElement to the Elements collection of the ImageDraw control
'...
//...
//Create an instance of ImageElement class
Neodynamic.WebControls.ImageDraw.ImageElement imgElem = Neodynamic.WebControls.ImageDraw.ImageElement.FromUrl("~/images/night.jpg");
//Create an instance of AdjustGamma class
Neodynamic.WebControls.ImageDraw.AdjustGamma adjGamma = new Neodynamic.WebControls.ImageDraw.AdjustGamma();
//Set the gamma correction value
adjGamma.Gamma = 70;
//Apply the action on the ImageElement
imgElem.Actions.Add(adjContrast);
//Add the ImageElement to the Elements collection of the ImageDraw controlthis.ImageDraw1.Elements.Add(imgElem);
//Add the TextElement to the Elements collection of the ImageDraw control
//...