Message-ID: <747001432.10519.1711727059819.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10518_1725109997.1711727059802" ------=_Part_10518_1725109997.1711727059802 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Palette.GetColorAt(Int32)

Palette.GetColorAt(Int32)

Description

= =20

Returns the color at the specified 0-based index within the Palette.

= =20
C#
=20
 public Color GetColorAt(int index)
=20
=20
vb.net
=20
Public Function GetColorAt(ByVal index As Integer) As Color
=20
=20

Parameters

=20
index
The 0-based index of = the color to return. Must be between 0 and 55.=20

Returns

The color at the = specified index.=20

Remarks

For .xlsx files, = this will return a color from the legacy palette. Colors in the legacy pale= tte will be used when opening the file in Excel 2003.=20

Examples

=20
C#
=20
Color clr =3D pal.GetColorAt(4);
=20
=20
vb.net
=20
Dim clr As Color =3D pal.GetColorAt(4)
=20
------=_Part_10518_1725109997.1711727059802--