Eyeshot 10 WinForms API Reference
Layer Constructor(String,Color,String,Single,Boolean,Boolean)

WinForms Assembly > devDept.Eyeshot Namespace > Layer Class > Layer Constructor : Layer Constructor(String,Color,String,Single,Boolean,Boolean)
Layer name
Layer color
Line type name
Line weight
Layer status (On/Off)
Layer locked status (if true, the entities on the layer can't be selected)
Name, color, linetype name, line weight, status and locked constructor.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal color As Color, _
   ByVal lineTypeName As String, _
   ByVal lineWeight As Single, _
   ByVal visible As Boolean, _
   Optional ByVal locked As Boolean _
)
public Layer( 
   string name,
   Color color,
   string lineTypeName,
   float lineWeight,
   bool visible,
   bool locked
)

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

Reference

Layer Class
Layer Members
Overload List