Previous Document Next Document

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


Shape.Ellipse

Property Ellipse As Ellipse

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.