Table of Contents

Property ColorIndex

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ColorIndex

Gets the colour index, as AutoCAD's ColorIndex: 1 to 255 of a colour of the index, 256 for BYLAYER, 0 for BYBLOCK, 7 for the foreground; for a true colour the index nearest it, which AutoCAD writes beside it: 30 for orange, 0xFF8000, whether made by FromRgb(byte, byte, byte) or read from an entity or a layer.

public short ColorIndex { get; }

Property Value

short