Click or drag to resize

AciColorFromCadIndex Method

Gets the color from an index.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static AciColor FromCadIndex(
	short index
)

Parameters

index
Type: SystemInt16
A CAD indexed AciColor index.

Return Value

Type: AciColor
A color.
Remarks
Accepted index values range from 0 to 256. An index 0 represents a ByBlock color and an index 256 is a ByLayer color; any other value will return one of the 255 indexed AciColors.
See Also