Programmatically rotate a Node and keep the Label horizontal after rotating

In Diagram 9.3.0.138 for winforms.
Can node be programmatically rotated and Label be kept horizontal after rotation?


1 Reply

AA Amsath Ali M Syncfusion Team April 24, 2012 07:51 PM UTC

Hi Witold,

Thanks for using Syncfusion products.

1. Rotating Node through code:
We suggest you to use the Node’s RotateAngle property to rotate the node through code. Please refer the below code snippet to achieve your requirement.

Here is the code:
[C#]
Node.RotateAngle = 45;

2. Label is kept horizontal after rotation of node:
Currently we don’t provide support for “Need to Kept Label after rotation of node”. This has been suspected to be a feature request. Please create a DT incident for your query so that we can update the patch for this feature.

You can create the DT incident from the following link.
<http://www.syncfusion.com/account/dashboard>

In the interests of maintaining confidentiality, we have a policy of not sharing patches or otherwise proprietary customer specific information in the public Forum.

Please let us know if you have any queries.

Regards,
Amsath Ali. M





Loader.
Up arrow icon