get_layer();
set_layer(value);
Object.defineProperty('layer');
| Type | Description | 
|---|---|
| AnnLayer | The optional layer that contains this object. The default value is null. | 
Do not set the layer directly using this property. Instead, add the object to the layer Children collection.