| Visual Basic (Declaration) | |
|---|---|
Public Overloads Overridable Sub Rotate( _ ByVal rotationCenterPoint As Point, _ ByVal angle As Single _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As PSObject Dim rotationCenterPoint As Point Dim angle As Single instance.Rotate(rotationCenterPoint, angle)  | |
| C# | |
|---|---|
public virtual void Rotate( Point rotationCenterPoint, float angle )  | |
Parameters
- rotationCenterPoint
 - Point around which to rotate the object
 - angle
 - Angle to rotate the object
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8