Click or drag to resize

AciColorFromCadIndex Method

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the color from an index.

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public static AciColor FromCadIndex(
	short index
)
Request Example View Source

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