Table of Contents

Property SunColor

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SunColor

Gets or sets the colour of the sun's light (groups 63 and 421), as AutoCAD's SunColor: its true colour where it has one, else its colour of the index; the index 7, white, where the record gives neither.

public DxfColor SunColor { get; set; }

Property Value

DxfColor

Set, a colour of the index, written as its 63 with the 421 taken out, or a true colour, written as its 421 with the index nearest it as its 63.

Exceptions

ArgumentNullException

Thrown when the colour set is null.

ArgumentException

Thrown when the colour set is not of the index or a true colour.

InvalidOperationException

Thrown when the sun is erased.