ConvertToGroup method

Microsoft Visio Developer Reference

ConvertToGroup method

   Example   

Converts a selection or an object from another application (a linked or embedded object) to a group.

Version added

2.0

Syntax

object.ConvertToGroup

object

Required. An expression that returns the Shape or Selection object to convert.

Remarks

If the object to convert is a metafile it will be converted into basic shapes.