The AddEllipse method adds a new ellipse. Returns an Ellipse object.
Syntax
object.AddEllipse( Left, Top, Right, Bottom, UnitType )
Parameter |
Type |
Description |
Left |
Double |
required; left coordinate in page units |
Top |
Double |
required; top coordinate in page units |
Right |
Double |
required; right coordinate in page units |
Bottom |
Double |
required; bottom coordinate in page units |
UnitType |
optional; unit type, default is mvCoordDisplayUnitPageUnits |
Example
This example demonstrates how to create an ellipse.
Dim Ellipse As Object
Set Ellipse = MapShapes.AddEllipse(Left:=4, Top:=5, Right:=8, Bottom:=3)
Used by: Shapes collection