ConvertToGroup Method

Converts a shape from ConceptDraw vector picture format to a group of ConceptDraw shapes, preserving its location in the document.

Applies to: Page object, Shape object

Syntax

[[Set] shapeRet =] object.ConvertToGroup ( shapeID )

The ConvertToGroup method syntax has these parts:

Part Description
object

Required. An expression that returns a Shape object.

shapeID Required. An expression that returns a Long value. The ID of the shape to be converted.
shapeRet Optional. A Shape type variable. The group of shapes resulting after the conversion.

Remarks

If the shape with the specified shapeID is not found in the shape collection of object, or the found shape is not a ConceptDraw vector picture, the ConvertToGroup method doesn't perform conversion and returns Nothing.

 

See Also

ConvertToVFPicture method