EntityColor Constructor (ColorMethod, Int16)

Creates a new instance of EntityColor using color method and color index.
Namespace:  Teigha.Colors
Assembly:  TD_Mgd (in TD_Mgd.dll) Version: 21.4.0.0
Syntax
public EntityColor(
        ColorMethod value,
        short index
)

Parameters

value
Type: Teigha.ColorsColorMethod
Color method.
index
Type: SystemInt16
Color index (ACI).
Remarks
index must be one of the following:
Value Description
0 ByBlock
7 Foreground color
256 ByLayer
1 Red
2 Yellow
3 Green
4 Cyan
5 Blue
6 Magenta
8-255 Defined by display device
257 No color
See Also

©  Bricsys NV. All rights reserved.