Method SetColorIndex
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetColorIndex(int)
Gives every entity of the group a colour of AutoCAD's index, as AutoCAD's SetColorIndex: 1 to 255, 0 for BYBLOCK and 256 for BYLAYER.
public void SetColorIndex(int color)
Parameters
colorintThe colour, from 0 to 256.
Exceptions
- ArgumentOutOfRangeException
Thrown when the colour is below 0 or above 256; nothing is written then.
- InvalidOperationException
Thrown when the group is erased.