Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.CreateEllipse |
Function CreateEllipse(Top As Long, Left As Long, Bottom As Long, Right As Long, StartAngle As Long, EndAngle As Long, Arc As Boolean) As Long
Member of CorelScript
The CreateEllipse method draws an ellipse or circle.
Parameter
|
Description
|
Top
|
Specifies the y-coordinate of the upper-left corner of the bounding box of the ellipse, in tenths of a micron and relative to the center of the page
|
Left
|
Specifies the x-coordinate of the upper-left corner of the bounding box of the ellipse, in tenths of a micron and relative to the center of the page
|
Bottom
|
Specifies the y-coordinate of the lower-right corner of the bounding box of the ellipse, in tenths of a micron and relative to the center of the page
|
Right
|
Specifies the x-coordinate of the lower-right corner of the bounding box of the ellipse, in tenths of a micron and relative to the center of the page
|
StartAngle
|
Specifies the starting angle for an arc, in degrees. To determine angle measurements, use the CorelScriptTools.AngleConvert method.
|
EndAngle
|
Specifies the ending angle for an arc, in degrees. To determine angle measurements, use the CorelScriptTools.AngleConvert method.
|
Arc
|
Specifies whether to draw the ellipse as a pie or an arc. True (-1) turns the ellipse into a pie, while False (0) draws the ellipse as an arc.
|
Copyright 2013 Corel Corporation. All rights reserved.