Table of Contents

Property TrueColor

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

TrueColor

Gets or sets the colour of the layer as red, green and blue (group 420), 0xRRGGBB; null where it has none.

public int? TrueColor { get; set; }

Property Value

int?

Set, from 0 to 0xFFFFFF; null takes it out.

Exceptions

ArgumentOutOfRangeException

Thrown when the colour set is below 0 or above 0xFFFFFF.

InvalidOperationException

Thrown when set in a file older than R2004 (AC1018), which has no true colours.