Setting Link Line Style Properties
How are the line style properties set for a link in version 4.4.x and 5.1? For example, how do I set the line thickness and color for a link?
There are endpoint properties that handle this, but I cannot find a property to handle the line.
Thank you
There are endpoint properties that handle this, but I cannot find a property to handle the line.
Thank you
SIGN IN To post a reply.
3 Replies
MF
Meera Fathima
Syncfusion Team
July 9, 2007 01:12 PM UTC
Hello Michael,
Please see the below code snippet that shows how to set the line color and width of the link\connector.
In v4.4 :
Link.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
Link.LineStyle.LineWidth = 2; // To set the line width of the link.
In 5.1 :
LineConnector.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
LineConnector.LineStyle.LineWidth = 2; // To set the line width of the link.
Please let me know if you have any more questions.
Best Regards,
Meera.
Syncfusion, Inc.
http://www.syncfusion.com/
MJ
Michael Jones
July 9, 2007 03:49 PM UTC
Hi Meera,
The properties you suggest for version 4.4 generate a warning that they are obsolete and have no effect. Using these properties generate an internal error (not thrown, but can be seen in the output window) and the line is not displayed.
>
Hello Michael,
Please see the below code snippet that shows how to set the line color and width of the link\connector.
In v4.4 :
Link.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
Link.LineStyle.LineWidth = 2; // To set the line width of the link.
In 5.1 :
LineConnector.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
LineConnector.LineStyle.LineWidth = 2; // To set the line width of the link.
Please let me know if you have any more questions.
Best Regards,
Meera.
Syncfusion, Inc.
http://www.syncfusion.com/
The properties you suggest for version 4.4 generate a warning that they are obsolete and have no effect. Using these properties generate an internal error (not thrown, but can be seen in the output window) and the line is not displayed.
>
Hello Michael,
Please see the below code snippet that shows how to set the line color and width of the link\connector.
In v4.4 :
Link.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
Link.LineStyle.LineWidth = 2; // To set the line width of the link.
In 5.1 :
LineConnector.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
LineConnector.LineStyle.LineWidth = 2; // To set the line width of the link.
Please let me know if you have any more questions.
Best Regards,
Meera.
Syncfusion, Inc.
http://www.syncfusion.com/
MJ
Michael Jones
July 9, 2007 03:56 PM UTC
I take it back. While the properties are marked obsolete, they are working. So, things are fine.
>
Hello Michael,
Please see the below code snippet that shows how to set the line color and width of the link\connector.
In v4.4 :
Link.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
Link.LineStyle.LineWidth = 2; // To set the line width of the link.
In 5.1 :
LineConnector.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
LineConnector.LineStyle.LineWidth = 2; // To set the line width of the link.
Please let me know if you have any more questions.
Best Regards,
Meera.
Syncfusion, Inc.
http://www.syncfusion.com/
>
Hello Michael,
Please see the below code snippet that shows how to set the line color and width of the link\connector.
In v4.4 :
Link.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
Link.LineStyle.LineWidth = 2; // To set the line width of the link.
In 5.1 :
LineConnector.LineStyle.LineColor = Color.MidnightBlue; // To set the line color of the link.
LineConnector.LineStyle.LineWidth = 2; // To set the line width of the link.
Please let me know if you have any more questions.
Best Regards,
Meera.
Syncfusion, Inc.
http://www.syncfusion.com/
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
MJ Michael Jones
- Jul 7, 2007 02:30 AM UTC
- Jul 9, 2007 03:56 PM UTC