←Select platform

RotateAngle Property

Summary

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.

Syntax

C#
VB
C++
public double RotateAngle { get; set; } 
  
Public Property RotateAngle As Double 
public: 
property double RotateAngle { 
   double get(); 
   void set (    double ); 
} 

Property Value

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

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.

Example

For XAML example, refer to Flip.

For C#/VB examples, refer to Flip.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly