Search
ShapeTemplate.AddDecorationEllipse Method
See Also
 



Adds a new ellipse as decoration of a shape.

 Syntax

VB6  Copy Code

Public Sub AddDecorationEllipse( _
    ByVal x1 As Integer, _
    ByVal y1 As Integer, _
    ByVal x2 As Integer, _
    ByVal y2 As Integer _
)

C++  Copy Code

public:
void AddDecorationEllipse (
    short x1,
    short y1,
    short x2,
    short y2
)

 Parameters

x1
A x-coordinate, defined as percent of shape full width.
y1
A y-coordinate, defined as percent of shape full height.
x2

A x-coordinate, defined as percent of shape full width.

y2
A y-coordinate, defined as percent of shape full height.

 Remarks

The ellipse is defined by top-left and bottom-right points of its bounding rectangle. Decorations are not used for hit-testing, clipping and finding intersection with arrows.

 See Also