BeginShape Method

Returns an instance of the Shape object which corresponds to the current Basic shape for the specified page or group.

Applies to: Page object, Shape object

Syntax

[[Set] currentBasicShapeRet =] object.BeginShape ()

The BeginShape 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 shapes that are groups. For all other shapes this method returns Nothing.

If the BeginShape method is called at the first time or after the EndShape method has been called, the method creates on the page or in the group a shape that is considered as the current Basic shape for the page or group. On each subsequent call BeginShape returns an already existing current Basic shape.

 

See Also

EndShape method