DrawOval method
DrawOval method
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Adds an ellipse to the Shapes collection of a page, master, or group.
Version added
2.0
Syntax
|
|
retVal |
A Shape object that represents the new ellipse. |
object |
Required. An expression that returns a Page, Master, or Shape object on which to draw the ellipse. |
x1 |
Required Double. The left side of the ellipse's width-height box. |
y1 |
Required Double. The top of the ellipse's width-height box. |
x2 |
Required Double. The right side of the ellipse's width-height box. |
y2 |
Required Double. The bottom of the ellipse's width-height box. |
Remarks
Using the DrawOval method is equivalent to using the Ellipse tool in the application. The arguments are in internal drawing units with respect to the coordinate space of the page, master, or group where the ellipse is being placed.