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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get the value of Node.RotateAngle

Thread ID:

Created:

Updated:

Platform:

Replies:

112419 Sep 22,2013 07:11 AM UTC Sep 25,2013 04:41 AM UTC Silverlight 2
loading
Tags: Diagram
Feng
Asked On September 22, 2013 07:11 AM UTC

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?

Sudhakar C [Syncfusion]
Replied On 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

Sudhakar C [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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

;