Hi Hayssam,
Thanks for your update.
Currently we have support to change the LineStyle of the entire
node [Line drawn around the node] only. However you can achieve your
requirement by creating the polygon node and the same can be demonstrated in
the below sample.
Here is the code:
[C#]
PointF[] pts = new PointF[]{new PointF(100,100),
new PointF(240,100)
, new PointF(280,140),
new PointF(240,180),
new PointF(100,180)
};
Polygon
poly = new Polygon(pts);
DiagramWebControl1.Model.AppendChild(poly);
Here is the sample:
F107637.zip
Please let us know if you have any queries.
Regards,
Amsath Ali. M