EndShape Method

Returns an instance of the Shape object which corresponds to the current Basic shape and informs ConceptDraw that the shape has been built.

Applies to: Page object, Shape object

Syntax

[[Set] shapeRet =] object.EndShape ()

The EndShape method syntax has these parts:

Part Description
object Required. An expression that returns an object in the Applies to list.
currentBasicShapeRet Optional. A Shape type variable.

Remarks

This method is only effective for pages and shape that are groups. For all other shapes this method returns Nothing. Calling EndShape must be preceded by BeginShape, which initialized the current Basic shape of the group/page. Otherwise the EndShape method returns Nothing.

Note, that after you've called the EndShape, to start building a new shape you have to initialize the current Basic shape of the group/page by calling the BeginShape method.

 

See Also

BeginShape method