IASControl::put_Color

This method sets a color specified by a color index.

Syntax

HRESULT put_Color( int nColorIndex, OLE_COLOR clr );

Parameters

nColorIndex
Color index.
clr
Color to set.

Return Values

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

See Also

IASControl::get_Color