Layer Element

Visio XML Reference

Contains elements that define a single layer and its properties for a page.

Syntax

  <Layer
    [IX]
    [Del]>
</Layer>

Attributes

IX

Optional int. The zero-based index of the element within its parent element.

Del

Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Element properties

Property Value
Name Layer
Minimum Occurrences 0
Maximum Occurrences Unbounded

Element information

Parent elements

PageSheet

Shape

StyleSheet

DocumentSheet

Child elements

Name

Color

Status

Visible

Print

Active

Lock

Snap

Glue

NameUniv

ColorTrans

Remarks

The Layer element is relevant only when contained in a PageSheet element. It is ignored when contained in a DocumentSheet, Shape, or StyleSheet element.

See also

Layers section