Articles in this section
Category / Section

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

3 mins read

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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied