Fragment method

Microsoft Visio Developer Reference

Fragment method

   Example   

Breaks selected shapes into smaller shapes.

Version added

2.0

Syntax

object.Fragment

object

Required. An expression that returns a Selection object that contains the shapes to fragment.

Remarks

Using the Fragment method is equivalent to clicking Fragment on the Operations submenu of the Shape menu. The produced shapes are the topmost shapes in the containing shape of the selected shapes. They inherit the formatting of the first selected shape and have no text.

The original shapes are deleted and there aren't any shapes selected when the operation is complete.