Search
ShapeTemplate.AddTextArc Method
See Also
 



Adds an arc to shape's text region.

 Syntax

VB6  Copy Code

Public Sub AddTextArc( _
    ByVal x1 As Integer, _
    ByVal y1 As Integer, _
    ByVal x2 As Integer, _
    ByVal y2 As Integer, _
    ByVal angle As Integer, _
    ByVal sweep As Integer _
)

C++  Copy Code

public:
void AddTextArc (
    short x1,
    short y1,
    short x2,
    short y2,
    short angle,
    short sweep
)

 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.
angle

sweep

 Remarks

The arc is a part of the ellipse enclosed in the rectangle defined via (x1,y1)-(x2,y2) coordinates. The arc starts at the angle specified as argument and sweeps in clockwise direction as specified via the sweep argument. If text region is not defined for a shape, the shape's outline is used for formatting and rendering the text.

 See Also