Click or drag to resize
LayerTable Methods

The LayerTable type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a new layer with default definition to the layer table.
Public methodCode exampleAdd(Layer)
Adds a new layer with specified definition to the layer table.
Public methodCode exampleAdd(String, Color)
Adds a new layer with specified definition to the layer table.
Public methodAddReferenceLayer
Adds a new reference layer with default definition to the layer table. Reference layers are not saved in files.
Public methodAddReferenceLayer(Layer)
Adds a new reference layer with specified definition to the layer table Reference layers are not saved in files.
Public methodDelete
Deletes layer.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFind(Guid, Boolean)
Finds a layer with a matching ID.
Public methodCode exampleFind(String, Boolean)
Finds the layer with a given name. If multiple layers exist that have the same name, the first match layer index will be returned.
Public methodFindByFullPath
Public methodFindNext
Public methodForceLayerVisible(Guid)
Makes a layer and all of its parent layers visible.
Public methodForceLayerVisible(Int32)
Makes a layer and all of its parent layers visible.
Public methodGetEnumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleGetUnusedLayerName
Gets the next unused layer name used as default when creating new layers.
Public methodModify
Modifies layer settings.
Public methodPurge
Delete layer and all geometry objects on a layer
Public methodSetCurrentLayerIndex
At all times, there is a "current" layer. Unless otherwise specified, new objects are assigned to the current layer. The current layer is never locked, hidden, or deleted.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUndelete
Undeletes a layer that has been deleted by DeleteLayer().
Public methodUndoModify(Int32)
Public methodUndoModify(Int32, UInt32)
Restores the layer to its previous state, if the layer has been modified and the modification can be undone.
Top
See Also