Method ModifyLayer
ModifyLayer(CadRemoteLayer)
Queues the look of a layer to be written over the look the layer of that name has, when CommitChanges() is called: the layer read from Layers and changed since. Everything but the name is written; a property left as the drawing has it changes nothing. The app refuses a layer of an external reference and the freezing of the current layer.
public void ModifyLayer(CadRemoteLayer layer)
Parameters
layerCadRemoteLayerThe layer.
Exceptions
- ArgumentNullException
Thrown when the layer is null.