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
close icon

How to get the value of Node.RotateAngle

It's OK to set the value of it, but the value will be 0 when try to read it, is there any operations I should do before reading it?

2 Replies

SC Sudhakar C Syncfusion Team September 25, 2013 04:41 AM UTC

Hi Feng,

We can get the RotateAngle of the Node by using the following code snippet.

Code Snippet :

 

Node node = new Node();

double angle = evtArgs.Node.RotateAngle;

 

 

We have created a simple sample for your reference. In that sample, we have set the RotateAngle of the Node as Label of that Node. Now, after rotating the Node, RotateAngle of the Node will be displayed in Label of that Node. For more information please refer the attached sample.

Please let us know if you need further assistance on this.

Regards,

Sudhakar C



RotateAngleSample_952f8b.zip


SC Sudhakar C Syncfusion Team September 25, 2013 04:41 AM UTC

Hi Feng,

We can get the RotateAngle of the Node by using the following code snippet.

Code Snippet :

 

Node node = new Node();

double angle = evtArgs.Node.RotateAngle;

 

 

We have created a simple sample for your reference. In that sample, we have set the RotateAngle of the Node as Label of that Node. Now, after rotating the Node, RotateAngle of the Node will be displayed in Label of that Node. For more information please refer the attached sample.

Please let us know if you need further assistance on this.

Regards,

Sudhakar C



RotateAngleSample_44d231.zip

Loader.
Live Chat Icon For mobile
Up arrow icon