'...
'Create an instance of ImageElement class
Dim imgElem As Neodynamic.SDK.ImageElement
imgElem = Neodynamic.SDK.ImageElement.FromUrl("~/images/night.jpg")
'Create an instance of Emboss class
Dim fxEmboss As New Neodynamic.SDK.Emboss()
fxEmboss.BumpHeight = 50
fxEmboss.LightAngle = 90
fxEmboss.LightElevation = 60
'Apply the action on the ImageElement
imgElem.Actions.Add(fxEmboss)
'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 Emboss class
Neodynamic.SDK.Emboss fxEmboss = new Neodynamic.SDK.Emboss();
fxEmboss.BumpHeight = 50;
fxEmboss.LightAngle = 90;
fxEmboss.LightElevation = 60;
//Apply the action on the ImageElement
imgElem.Actions.Add(fxEmboss);
//Add the ImageElement to the Elements collection of the ImageDraw controlthis.ImageDraw1.Elements.Add(imgElem);
//...
This action embosses an Element. ImageDraw provides a flexible Emboss effect allowing you to control the bump height and the light angle and elevation. You can also generate a colored relief instead of emboss effect.
In the following example we have an ImageElement on the Canvas and a Emboss action is applied on the ImageElement.