Selection.Fragment Method (Visio)
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Selection.Fragment Method (Visio)

Breaks selected shapes into smaller shapes.

Version Added: Visio 2.0

expression .Fragment

expression A variable that represents a Selection object.

Return Value


Calling the Fragment method is equivalent to clicking Fragment in the Microsoft Visio user interface (click Operations in the Shape Design group on the Developer tab). 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.

© 2016 Microsoft