Table of Contents

Property Color

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

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

DxfColor

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.