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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Rotate a Node from code

Thread ID:

Created:

Updated:

Platform:

Replies:

90527 Oct 6,2009 04:00 PM UTC Oct 7,2009 07:26 AM UTC WPF 1
loading
Tags: Diagram
Pavel Vykhryst
Asked On October 6, 2009 04:00 PM UTC

Is it possible to rotate а Node from the code?

Nikhil A [Syncfusion]
Replied On October 7, 2009 07:26 AM UTC

Hi,

Thanks for your interest in Syncfusion products.

It is surely possible to programmatically rotate the node using RotateTransform logic. The following code can be used to rotate the node 45 degrees:

RotateTransform rotateTransform = new RotateTransform(45);
nodeobj.RenderTransform = rotateTransform;

where nodeobj is the instance of the node which is to be rotated.

Please let us know if there are any concerns.

Regards,
Nikhil
Syncfusion WPF Team.

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

;