Property AmbientLightColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
AmbientLightColor
Gets or sets the colour of the ambient light (groups 63, 421 and 431, from R2007), as AutoCAD's AmbientLightColor:
its true colour where it has one, else its colour of the index; the index 250, a dark grey, where the record gives none.
public DxfColor AmbientLightColor { get; set; }
Property Value
- DxfColor
Set, a colour of the index or a true colour, written as AutoCAD writes an entity's.
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 viewport is erased, or set in a file older than R2007.