Object Model Reference : Classes : S : Shape : Properties : Shape.Ellipse |
Property Ellipse As Ellipse
Member of Shape
The Ellipse property returns an Ellipse object that represents the settings for an ellipse shape.
The Ellipse property returns a read-only value.
The following VBA example converts all ellipses on the current page into pies.
Sub Test() |
Dim s As Shape |
For Each s In ActivePage.Shapes |
If s.Type = cdrEllipseShape Then |
With s.Ellipse |
.StartAngle = 0 |
.EndAngle = 90 |
.Clockwise = True |
.Type = cdrPie |
End With |
End If |
Next s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.