Property Color
Color
Gets or sets the colour of the layer: an AutoCAD colour index from 1 to 255, or a true colour (FromRgb(byte, byte, byte)).
public DxfColor Color { get; set; }
Property Value
Exceptions
- ArgumentNullException
Thrown when the colour set is null.
- ArgumentException
Thrown when the colour set is by layer, by block or another a layer does not take.