Table of Contents

Property Name

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Name

Gets or sets the name of the record (group 2), as AutoCAD's Name: as the file spells it, the spaces around it taken off and its escapes (\U+00E9) read as letters.

public virtual string Name { get; set; }

Property Value

string

Set on a record made in code, before it is added to its table; on a layer, a block or a text style of a file, it is renamed with every reference to it, as DxfLayerTableRecord, DxfBlockTableRecord, DxfLinetypeTableRecord and DxfTextStyleTableRecord say. The name it has changes nothing.

Exceptions

ArgumentNullException

Thrown when the name set is null.

ArgumentException

Thrown when the name set on a record of a file is one AutoCAD does not take, or that of another record of its table.

InvalidOperationException

Thrown when set on a record of a file of a kind not renamed yet, or on one AutoCAD does not rename, as layer 0, the text style Standard or the linetype Continuous.