Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

65c7f12f 510e 6636 5aa1 e0629277329d

haplokuon edited this page May 6, 2023 · 1 revision

FromCadIndex Method

netDxf 3.0.0 Library

Gets the color from an index.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static AciColor FromCadIndex(
	short index
)

VB

Public Shared Function FromCadIndex ( 
	index As Short
) As AciColor

C++

public:
static AciColor^ FromCadIndex(
	short index
)

F#

static member FromCadIndex : 
        index : int16 -> AciColor 

Parameters

  Int16
A CAD indexed AciColor index.

Return Value

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

Reference

AciColor Class
netDxf Namespace

Clone this wiki locally