LayerMem Element

Visio XML Reference

Contains the LayerMember element, which specifies each layer to which the shape is assigned.

Syntax

  <LayerMem
    [Del]>
</LayerMem>

Attributes

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 LayerMem
Minimum Occurrences 0
Maximum Occurrences 1

Element information

Parent elements

PageSheet

Shape

StyleSheet

DocumentSheet

Child elements

LayerMember

Remarks

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

Example

In the following example, the shape belongs to the second, third, and fourth layers specified for the page. The values are 1, 2, and 3 because the layer indices are zero-based.

XML
  <LayerMem>
  <LayerMember>1;2;3</LayerMember> 
</LayerMem>

See also

Layer Membership section