We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Symbol_Backgroundcolor

Thread ID:

Created:

Updated:

Platform:

Replies:

107512 Mar 5,2013 10:21 AM Mar 12,2013 03:20 AM ASP.NET Web Forms (Classic) 3
loading
Tags: DiagramWebControl
Hayssam Hassan
Asked On March 5, 2013 10:21 AM

Hi i draw a Symbol with Polyline from the Drawing Tools for my Symbol Palettes, and would like to change the Backgroundcolor but in the PropertyGrid the FillStyle Proberty under Appearance is not there.
could you tell me how to do this.

Best Regards
Hayssam

Amsath Ali M [Syncfusion]
Replied On March 6, 2013 05:35 AM

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


Hayssam Hassan
Replied On March 11, 2013 01:23 PM

Hi Amsath Ali .M,

if i draw the symbol with Rectangle and Polygon (See Model 1) and adedd them together. is there any
possibility to make the Line between Rectangle and Polygon transparent. i want to have the Symbol like the one in Model 2


SymbolBackgrond_bae0784c.rar

Amsath Ali M [Syncfusion]
Replied On March 12, 2013 03:20 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;