IASControl::get_Color

This method gets the color that corresponds to a specified index.

Syntax

HRESULT get_Color( int nColorIndex, OLE_COLOR *pclr );

Parameters

nColorIndex
Color index.
pclr
Pointer to an OLE_COLOR.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

See Also

IASControl::put_Color