Represents a layer in a CAD image.
The following tables list the members exposed by the CADLayer type.
  
    
    
    Public Constructors
  
 
  
    
    
    Public Properties
  
| Name | Description | |
|---|---|---|
     
    
   | 
  Box | Gets or sets a three-dimensional box that encloses the CADEntity. (inherited from CADEntity). | 
     
    
   | 
  Color | Gets or sets a color of the pen for this CADPenEntity. (inherited from CADPenEntity). | 
     
    
   | 
  Converter | Gets or sets a CADConverter associated with this CADObjectEntity. (inherited from CADObjectEntity). | 
     
    
   | 
  Count | Gets a number of entities contained in the given CADEntity. (inherited from CADEntity). | 
     
    
   | 
  DashStyle | Gets or sets DashStyle for CADPenEntity object (inherited from CADPenEntity). | 
     
    
   | 
  EntName | Gets a name of this CADPenTableItem. (inherited from CADPenTableItem). | 
     
    
   | 
  EntType | Gets the type of this CADLayer entity. | 
     
    
   | 
  Entities | Gets a collection of all entities owned by this CADEntity. (inherited from CADEntity). | 
     
    
   | 
  ExtendedData | Provides access to entity extended data (inherited from CADEntity). | 
     
    
   | 
  Flags | Gets or sets a drawing flags. (inherited from CADPenTableItem). | 
     
    
   | 
  Frozen | Gets or sets a value indicating whether a CADLayer is frozen. | 
     
    
   | 
  Handle | Gets a CADEntity handle. (inherited from CADEntity). | 
     
    
   | 
  IsPlotting | Gets or sets a value indicating whether this layer's contents can be plotted. | 
     
    
   | 
  Layer | Gets or sets a layer this CADPlotEntity belongs to. (inherited from CADPlotEntity). | 
     
    
   | 
  LineType | Gets or sets line type | 
     
    
   | 
  LineTypeName | Gets line type name | 
     
    
   | 
  LineTypeScale | Gets or sets a value equal to a quantity of linetype elements per unit of its length. (inherited from CADPlotEntity). | 
     
    
   | 
  LineWeight | Gets or sets a thickness of lines for this CADLayer. | 
     
    
   | 
  Lines | Gets or sets a type of the line used on this layer. | 
     
    
   | 
  Locked | |
     
    
   | 
  Name | Gets or sets a name of the CADPenTableItem. (inherited from CADPenTableItem). | 
     
    
   | 
  Selected | Gets or sets a value indicating whether the CADEntity is selected. (inherited from CADEntity). | 
     
    
   | 
  Visibility | Gets or sets a value indicating whether a CADPlotEntity is visible. (inherited from CADPlotEntity). | 
     
    
   | 
  Visible | Gets or sets a value indicating whether a CADLayer is visible. | 
     
    
   | 
  Width | Gets or sets a line width of CADPenEntity object (inherited from CADPenEntity). | 
  
    
    
    Public Methods
  
| Name | Description | |
|---|---|---|
     
    
   | 
  AddEntity | Virtual method. Redefined in descendant classes. (inherited from CADEntity). | 
     
    
   | 
  AssignEntity | Copies an entity | 
     
    
   | 
  ChangeEntity | Edits current entity by specified offset (inherited from CADEntity). | 
     
    
   | 
  Clone | Copies an entity (inherited from CADEntity). | 
     
    
   | 
  Dispose | Releases all resources used by the CADEntity. | 
     
    
   | 
  DrawEntityTrace | Implements drawing of entity with specified offset to specified Control (inherited from CADEntity). | 
     
    
   | 
  Equals | (Overloaded) (inherited from Object). | 
     
    
   | 
  GetBoxPoints | Checks if the CADEntity must be drawn during a drawing cycle. (inherited from CADEntity). | 
     
    
   | 
  GetHashCode | (inherited from Object). | 
     
    
   | 
  GetType | (inherited from Object). | 
     
    
   | 
  Loaded | Loads this CADLayer to the specified CADConverter. | 
     
    
   | 
  OnDraw | Raises a DrawEvent. (inherited from CADEntity). | 
     
     
    
   | 
  ReferenceEquals | (inherited from Object). | 
     
    
   | 
  SetLType | Sets a linetype for the CADLayer entity. | 
     
    
   | 
  ToString | (inherited from Object). | 
  
    
    
    Fields
  
| Name | Description | |
|---|---|---|
     
    
    
   | 
  DrawEvent | Occurs when the CADEntity is drawn in the CAD image. (inherited from CADEntity). | 
	
		
		
		See Also