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

Layer.Remove Method (Visio)

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

Removes a shape from a layer.


expression . Remove( SheetObject , fPresMems )

expression A variable that represents a Layer object.


NameRequired/OptionalData TypeDescription
SheetObjectRequired[IVSHAPE]An expression that returns the Shape object to remove.
fPresMemsRequiredIntegerFlag that indicates whether to remove members of a group.

Return Value



If the shape is a group and fPresMems is non-zero, member shapes of the group are unaffected. If fPresMems is zero (0), the group's member shapes are also removed from the layer.

Removing a shape from a layer does not delete the shape.

© 2017 Microsoft