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.
Syncfusion Feedback

V5: V4 Polygon.BorderStyle property equivalent

Thread ID:

Created:

Updated:

Platform:

Replies:

59061 Apr 4,2007 05:45 AM Apr 5,2007 10:23 PM Windows Forms 2
loading
Tags: Diagram
Apolon Ivankovic
Asked On April 4, 2007 05:45 AM

In V4.x of Ess Diag, there was a BorderStyle property for fill oriented shapes. In V5 can I use the FilledPath.LineStyle property as a replacement?
i.e. does it affect the line style of the border of a FilledPath.

Also, there was a V4 BorderStyle.ShowBorder property that allowed the border line to be turned on/off for filled shapes. How do you do the equivalent in V5?

Ramya R [Syncfusion]
Replied On April 4, 2007 08:29 AM

Hi Apolon,

Thanks for your interest in Essential Diagram.

Yes, the filledpath.LineStyle in v5.1 can be used instead of the BorderStyle property in v4.4.

In v5.1 there is no ShowBorder property.So if your intention is to make the border invisible for a node then it can done by setting the Color of the BorderLine of the node to transparent as shown in the code snippet below,

filledpath.LineStyle.LineColor = Color.Transparent;

Let me know whether this helps you.

Thanks & Regards,
Ramya.

Apolon Ivankovic
Replied On April 5, 2007 10:23 PM

Ok, I'll use the transparent color approach. Because of the large number of Ess Diag API changes my app is currently in a state where lots of code commented out and maybe throws a NotImplementedException. This is just to get it into a state where it compiles successfully against the V5 Diag API. Once it compiles and some basic V5 diagram functionality is working, then the process will be to slowly add the functionality back in using whatever approach works in V5.

Bottom Line: I'll get back to you with how I go with the transparent color approach once the app is workable again.

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.

Warning Icon 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.Close Icon

;