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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Preventing label text rotation on line connectors when the nodes are moved

Platform: ASP.NET Web Forms (Classic) |
Control: DiagramWebControl |
Published Date: April 30, 2011 |
Last Revised Date: May 31, 2019

Preventing label text rotation on line connectors when the nodes are moved

On moving the nodes, the label text of the "LineConnector" connecting two node becomes upside down. That is on moving one of the two node to the opposite side of the other node from its current position in x direction will make the text to be drawn upside down. To avoid this a workaround has been created in which the label class is customized and a property called rotate is included in it which when set to true rotates the drawing of text by 180 degree.

The sample can be downloaded from the link provided below http://files.syncfusion.com/support/Diagram.Web/Forums/F80107/main.htm

You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile