Method NewLayer
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
NewLayer(CadTranslateLayer)
New…: adds a layer to the Translate To list, to map layers to and make in the drawing where it has none of the name.
public bool NewLayer(CadTranslateLayer layer)
Parameters
layerCadTranslateLayerThe layer, with the settings it is to have.
Returns
Exceptions
- ArgumentNullException
Thrown when the layer is null.