Previous Document Next Document

Object Model Reference : Classes : S : Shape : Properties : Shape.RotationAngle


Shape.RotationAngle

Property RotationAngle As Double

Description

Member of Shape

The RotationAngle property returns or specifies the angle at which a shape was rotated. Assigning a value to this property rotates the shape so that its resulting rotation angle equals the specified value.

VBA example

The following VBA example removes any rotation from the shapes on a page.

Sub Test()
 Dim s As Shape
 For Each s In ActivePage.Shapes
  If s.RotationAngle <> 0 Then
   s.RotationAngle = 0
  End If
 Next s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.