Share via


Subtract Method [Visio 2003 SDK Documentation]

Subtracts the areas that overlap the selected shape.

object**.Subtract**

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

Version added

4.0

Remarks

Using the Subtract method is equivalent to clicking Subtract on the Operations submenu of the Shape menu in Microsoft Office Visio. 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.

Applies to | Selection object

See Also | Combine method | ContainingShape property | Fragment method | Intersect method | Join method | Trim method | Union method