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