BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Hayssam,
Thanks for your interest in Syncfusion products.
Please note that the node’s FillStyle properties (changing
appearance of nodes) are available only for those nodes which are derived from
the “FilledPath”. Since the connectors, lines, curves, etc. are drawn basically
using lines, and does not have any closed graphics path, this is the reason why
the lines won’t have the Fillstyle properties. However, you can change the
appearance of lines using its LineStyle properties.
Please let us know if you have any queries.
Regards,
Amsath Ali .M
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:
Please let us know if you have any queries.
Regards,
Amsath Ali. M