LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
RotateAngle Property
See Also 
Leadtools.Windows.Controls Namespace > ImageViewer Class : RotateAngle Property



Gets or sets a value that indicates the rotation angle in degrees to apply to the image in the control. This is a dependency property. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property RotateAngle As Double
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim value As Double
 
instance.RotateAngle = value
 
value = instance.RotateAngle
C# 
public double RotateAngle {get; set;}
C++/CLI 
public:
property double RotateAngle {
   double get();
   void set (    double value);
}

Property Value

The rotation angle in degrees to apply to the image. Default value is 0.

Example

For XAML example, refer to Flip.

For C#/VB examples, refer to Flip.

Remarks

This controls supports the following effect properties that can be applied to the image being drawn:

  • Flip: flips the image vertically

  • Reverse: flips the image horizontally

  • RotateAngle: rotates the image by a specified angle

As well as the properties specified above, the controls supports the standard WPF/Silverlight System.Windows.UIElement.BitmapEffect to apply pixel shader effects to the image and the Transition property to apply animation.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also