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

a55f090c 195b e78d 4d33 6fd7e2100779

haplokuon edited this page May 6, 2023 · 1 revision

IndexRgb Property

netDxf 3.0.0 Library

A list that contains the indexed colors, the key represents the color index and the value the RGB components of the color.

Definition

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

C#

public static IReadOnlyList<byte[]> IndexRgb { get; }

VB

Public Shared ReadOnly Property IndexRgb As IReadOnlyList(Of Byte())
	Get

C++

public:
static property IReadOnlyList<array<unsigned char>^>^ IndexRgb {
	IReadOnlyList<array<unsigned char>^>^ get ();
}

F#

static member IndexRgb : IReadOnlyList<byte[]> with get

Property Value

IReadOnlyList(Byte[])

Remarks

This is the AutoCad default ACI color index to RGB values table. Changes in the actual view background color in AutoCad might produce changes in the RGB equivalents in some ACI color indexes, specially the darkest ones.
The color at index zero is not used, represents the RGB values for abstract colors such as ByLayer or ByBlock

See Also

Reference

AciColor Class
netDxf Namespace

Clone this wiki locally