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

Viewer.LayerDeleted Property (Visio Viewer)

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

Gets a value that indicates whether the layer at the specified index in the drawing open in Microsoft Visio Viewer is deleted. Read-only.

Syntax

expression. LayerDeleted( LayerIndex)

_expression_An expression that returns a Viewer object.

Parameters

NameRequired/OptionalData TypeDescription
LayerIndexRequiredLongThe index of the layer in the collection of layers in the drawing open in Visio Viewer.

Return Value

Boolean

Remarks

The collection of layers is one-based, so the index of the first layer in the collection is 1. If there are no layers in the drawing, the LayerDeleted property returns False.

Example

The following code gets a value that indicates whether the layer at index position 1 is deleted.

Debug.Print vsoViewer.LayerDeleted(1)
© 2018 Microsoft