Method SetLayer
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetLayer(string)
Puts every entity of the group on a layer, as AutoCAD's SetLayer, as Layer sets one: a layer the table does not list is added.
public void SetLayer(string value)
Parameters
valuestringThe name of the layer.
Exceptions
- ArgumentNullException
Thrown when the name is null.
- ArgumentException
Thrown when the name is one AutoCAD does not take; nothing is written then.
- InvalidOperationException
Thrown when the group is erased.