Method GetLayer
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetLayer(string)
Gets a layer of the layer table by its name.
public DxfLayer GetLayer(string name)
Parameters
namestringThe name of the layer. Names are compared as AutoCAD compares them, letters of either case the same, so
Steelfinds the layerSTEEL.
Returns
- DxfLayer
The layer of the table of that name; null where the table has none, as for a layer only an entity names.
Exceptions
- ArgumentNullException
Thrown when the name is null.