Layer Property

Specifies the layer for an object.

See Also | Example

Signature

object.Layer

object

All Drawing objects, AttributeReference, Group
The object or objects this property applies to.

Layer

String; read-write (write-only for the Group object)
The name of the layer.

Remarks

All objects have an associated layer. The document always contains at least one layer (layer 0). As with linetypes, you can specify a layer for an object. If you don't specify a layer, the current active layer is used for a new object. If a layer is specified for an object, the current active layer is ignored. Use the ActiveLayer property to set or query the current active layer.

Each layer has associated properties that can be set and queried through the Layer object.

 

   Comments?