Property TrueColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
TrueColor
Gets or sets the colour of the entity as red, green and blue (group 420), 0xRRGGBB, which a CAD program draws in place of ColorIndex: 0xFF8000 is orange; 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 the entity is erased, or a colour is set on one of a file older than R2004 (AC1018), which has no true colours.