Add method (Layer object)
Assigns a shape to a layer.
Version added
2.0
Syntax
| |
object |
Required. An expression that returns a Layer object. |
shapeObj |
Required. The new Shape object added to the Layer object. |
fPreserveMembers |
Required Integer. Zero to remove subshapes from any previous layer assignments; non-zero to preserve layer assignments. |
Remarks
If the shape is a group and fPreserveMembers is non-zero, the component shapes of the group retain their current layer assignments and are also added to this layer. If fPreserveMembers is zero, the component shapes are reassigned to this layer and lose their current layer assignments.