Table of Contents

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

name string

The name of the layer. Names are compared as AutoCAD compares them, letters of either case the same, so Steel finds the layer STEEL.

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.