Table of Contents

Property Red

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Red

Gets the red of the colour, 0 to 255: its own for a true colour, the palette's for one of the index, nought for BYLAYER and BYBLOCK. AutoCAD 2021's Color.Red gives nought for a colour of the index too, and its ColorValue the palette colour (index 1 is 255, 0, 0 by ColorValue and 0, 0, 0 by Red, Green and Blue); here they give the palette colour, which the viewer draws with, so that the three read the same as ColorValue except for BYLAYER.

public byte Red { get; }

Property Value

byte