LayerEx Class

Derived Layer class with external reference information.
Public Class LayerEx 
Inherits Layer 
Implements IReadWriteDataEx
This language is not supported or no code example is available.
public class LayerEx : Layer
IReadWriteDataEx
This language is not supported or no code example is available.
Name Description
Public property Color Gets or sets layer color. (inherited from Layer).
Public property Exportable Gets or sets a value indicating whether the layer (and all the entities belonging to it) are exported by the various Write* classes. (inherited from Layer).
Public property LineTypeName Gets or sets the line type name of the Workspace.LineTypes collection. (inherited from Layer).
Public property LineWeight Gets or sets layer line weight. (inherited from Layer).
Public property Locked Gets or sets a value indicating if the entities on the layer can be selected. (inherited from Layer).
Public property MaterialName Gets or sets layer material. (inherited from Layer).
Public property Name Gets or sets layer name. (inherited from Layer).
Public property Visible Gets or sets layer status (On/Off). (inherited from Layer).
Public property XData Gets or sets the XData value list.
Public property XRefName Gets or sets a string indicating whether the layer belongs to an xReference.
Top
Methods
 
Name Description
Public method Clone() Creates a deep copy of this layer.
Public method ConvertToSurrogate()
Public method Dispose() (inherited from Layer).
Public method Equals(Layer) Compares layer names ignoring cases. (inherited from Layer).
Protected method Finalize (inherited from Object).
Public method GetHashCode() (inherited from Layer).
Public method GetKey() Gets the key for the item of the collection. (inherited from Layer).
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Public method GetType (inherited from Object).
Protected method MemberwiseClone (inherited from Object).
Protected method OnKeyChanged(string, string) When the Name changes I need to notify it to the related keyed collections before changing it. (inherited from Layer).
Public method SetKey(string) Sets the key for the item of the collection. (inherited from Layer).
Public method ToString() (inherited from Layer).
Top
Events
 
Name Description
Public event KeyChanged Occurs when the Name changes. (inherited from Layer).
Public event VisibleChanged Occurs when the Visible changes. (inherited from Layer).
Top
Remarks
 
Created by the ReadAutodesk class or ReadAutodesk method.

.NET Framework

Supported in: 4.7.2

In this article

Definition