![]() |
![]() |
Ellipse.Clockwise
Property Clockwise As Boolean
Member of Ellipse
The Clockwise property returns or sets a value indicating whether the ellipse, arc, or pie goes from the start angle to the end angle in a clockwise or counterclockwise direction. If the value returned is True, the ellipse has a clockwise rotation.
The following code example converts the selected ellipse to a pie with a start angle of 0? an end angle of 90? and a clockwise rotation:
Sub Test() Dim s As Shape Set s = ActiveSelection.Shapes(1) If s.Type = cdrEllipseShape Then With s.Ellipse .StartAngle = 0 .EndAngle = 90 .Clockwise = True .Type = cdrPie End With End If End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.