Layer Class
Public Class Layer
Implements IDisposable, _
ICloneable, _
IEquatable(Of Layer), _
IKeyedCollectionDisposableItem(Of Layer), _
INotifyVisibleChanged
This language is not supported or no code example is available.
public class Layer : IDisposable,
ICloneable,
IEquatable<Layer>,
IKeyedCollectionDisposableItem<Layer>,
INotifyVisibleChanged
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
Layer(Layer) | ||
Layer(SerializationInfo, StreamingContext) | Constructor for deserializing objects. | |
Layer(string) | Name only constructor. | |
Layer(string, Color) | Name and color constructor. | |
Layer(string, Color, bool) | Name color and visible constructor. Layer's material is created automatically using the provided color. | |
Layer(string, Color, string) | Name, color and material constructor. | |
Layer(string, Color, string, float, bool, bool) | Name, color, linetype name, line weight, status and locked constructor. |
Name | Description | |
---|---|---|
Color | Gets or sets layer color. | |
Exportable | Gets or sets a value indicating whether the layer (and all the entities belonging to it) are exported by the various Write* classes. | |
LineTypeName | Gets or sets the line type name of the Environment.LineTypes collection. In use only if the LineTypeName is byEntity. | |
LineWeight | Gets or sets layer line weight. | |
Locked | Gets or sets a value indicating if the entities on the layer can be selected. | |
MaterialName | Gets or sets layer material. | |
Name | Gets or sets layer name. | |
Visible | Gets or sets layer status (On/Off). |
Name | Description | |
---|---|---|
Clone() | Creates a deep copy of this layer. | |
ConvertToSurrogate() | ||
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Equals(Layer) | Compares layer names ignoring cases. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode() | ||
GetKey() | Gets the key for the item of the collection. | |
GetObjectData(SerializationInfo, StreamingContext) | Populates a SerializationInfo instance with the data needed to serialize the target object. | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
GetXElement() | For internal use only. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
OnKeyChanged(string, string) | When the Name changes I need to notify it to the related keyed collections before changing it. | |
SetKey(string) | Sets the key for the item of the collection. | |
ToString() | Returns a string that represents the current object. |
Name | Description | |
---|---|---|
KeyChanged | Occurs when the Name changes. | |
VisibleChanged | Occurs when the Visible changes. |