Search
ShapeTemplate.CompleteDefinition Method
See Also
 



Completes a shape definition.

 Syntax

VB6  Copy Code

Public Sub CompleteDefinition( _
    ByVal ShapeId As String _
)

C++  Copy Code

public:
void CompleteDefinition (
    BSTR ShapeId
)

 Parameters

ShapeId

The identifier of the new shape.

 Remarks

The shape outline is automatically closed and the text region is converted to polygon if there are Bezier curves used in its definition. Additionally, the shape template is added to the Shapes collection, which allows the template to be accessed later by its integer index or string identifier.

It is necessary to call this method for each shape template you define.

 See Also