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.

Rotate a Node from code

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Is it possible to rotate а Node from the code?

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

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.

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.

;