Layer Constructor(String,Color,String,Single,Boolean,Boolean)
In This Topic
Name, color, linetype name, line weight, status and locked constructor.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As Color, _
ByVal As String, _
ByVal As Single, _
ByVal As Boolean, _
Optional ByVal As Boolean _
)
public Layer(
string ,
Color ,
string ,
float ,
bool ,
bool
)
Parameters
- name
- Layer name
- color
- Layer color
- lineTypeName
- Line type name
- lineWeight
- Line weight
- visible
- Layer status (On/Off)
- locked
- Layer locked status (if true, the entities on the layer can't be selected)
See Also