What is the function to get rotation in c#?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By 12bits
:bust_in_silhouette: Reply From: PixiePal

By rotation, are you referring to rotating an image or an object?

newImage.RenderTransformOrigin = new Point { X = 0.5, Y = 0.5 };
newImage.RenderTransform = new ScaleTransform() { ScaleY = -1 };

I was refering to a 3d object, I’m not looking to change the rotation, just get the values.

12bits | 2018-09-01 13:57