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

Layer.Delete Method (Visio)

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

Deletes a Layer object. Can also delete shapes assigned to the deleted layer.

Syntax

expression . Delete( fDeleteShapes )

expression A variable that represents a Layer object.

Parameters

NameRequired/OptionalData TypeDescription
fDeleteShapesRequiredInteger1 ( True ) to delete shapes assigned to the layer; otherwise, 0 ( False ).

Return Value

Nothing

Remarks

When fDeleteShapes is non-zero, shapes assigned only to the deleted layer are deleted. Otherwise, the shapes are simply no longer assigned to that layer.

© 2018 Microsoft