Table of contents
Collapse the table of content
Expand the table of content

Selection.Subtract Method (Visio)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Subtracts the areas that overlap the selected shape.


expression . Subtract

expression A variable that represents a Selection object.

Return Value



Calling the Subtract method is equivalent to clicking Subtract in the Microsoft Visio user interface (click Operations in the Shape Design group on theDeveloper tab). The first selected shape is the one that will have the other selected shapes subtracted from it. The other shapes will be deleted and no shapes are selected when the operation is complete.

© 2018 Microsoft