Share via


Selection.Intersect Method

Visio Automation Reference

Creates one closed shape from the area in which selected shapes overlap or intersect.

Version Information
 Version Added:  Visio 4.0

Syntax

expression.Intersect

expression   A variable that represents a Selection object.

Return Value
Nothing

Remarks

Calling the Intersect method is equivalent to clicking Intersect on the Operations submenu of the Shape menu in Microsoft Office Visio. The produced shape will be the topmost shape in its containing shape and will inherit the text and formatting of the first selected shape.

The original shapes are deleted and no shapes are selected when the operation is complete.

See Also