Table of Contents

Property ColorIndex

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ColorIndex

Gets or sets the colour of the layer (group 62), as AutoCAD's Color by its index: 1 to 255, whether the layer is on or off; 7 where the record gives none or one outside that.

public int ColorIndex { get; set; }

Property Value

int

Set, from 1 to 255; the layer stays on or off as it was.

Exceptions

ArgumentOutOfRangeException

Thrown when the colour set is not from 1 to 255.