Search
ShapeTemplate.AddTextStraight Method
See Also
 



Adds a new straight segment to shape's text region, starting from the point specified as argument.

 Syntax

VB6  Copy Code

Public Sub AddTextStraight( _
    ByVal x As Integer, _
    ByVal y As Integer _
)

C++  Copy Code

public:
void AddTextStraight (
    short x,
    short y
)

 Parameters

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

 Remarks

The segment ends at the first point of the next part added to the text region, or at the first point of the region if CompleteDefinition is called next. If text region is not defined for a shape, the shape's outline is used for formatting and rendering the text.

 See Also