 
     
     
     
     
     
     
     
    
    
     Description
Description
Sets or returns the layer that the entity is on.
             Property type
Property type
Read-write property
             Syntax
Syntax
| Visual Basic | 
|---|
| Public Property Layer As String | 
 Remarks
Remarks
If you don't specify a layer, the current active layer is used for a new entity. If a layer is specified for an entity, the current active layer is ignored. Each layer has associated properties that can be set and queried through the Layer object.
            
             Example
Example
Private Sub LayerpropertyExample() 
'This example returns the Layer property.
Dim ents As Object
Dim ent As Object
Set ents = ActiveDocument.ModelSpace
Set ent = ents.Item(ents.Count - 1)
MsgBox "The Layer property for the last entity is: " & ent.Layer
End Sub
 
                         en
  en italiano
 italiano čeština
 čeština Deutsch
 Deutsch français
 français hrvatski
 hrvatski magyar
 magyar polski
 polski српски
 српски русский
 русский 中文
 中文 中文
 中文 한국어
 한국어 español
 español