| Name | Type | Description |
|---|---|---|
| CenterX |
Double
|
|
| CenterY |
Double
|
|
| Radius1 |
Double
|
|
| Radius2 |
Double
|
Specifies, in document units, the measurement from the y-coordinate of the center point to the circumference. |
| StartAngle |
Double
|
Specifies the degree of the start angle for the ellipse. |
| EndAngle |
Double
|
Specifies the degree of the end angle for the ellipse. |
| Pie |
Boolean
|
Specifies whether the ellipse is a pie. |
Sub Test() Dim s As Shape Dim lr As Layer Set lr = ActiveLayer ActiveDocument.DrawingOriginX = 0 ActiveDocument.DrawingOriginY = 0 Set s = lr.CreateEllipse2(0, 0, 1) s.Fill.UniformColor.RGBAssign 255, 255, 0 'Yellow Set s = lr.CreateEllipse2(0, 2, 2, 1) s.Fill.UniformColor.RGBAssign 0, 255, 0 'Green End Sub