Microsoft SDK for Java

getColorFromOLECOLOR

This method of the ActiveXToolkit Class creates a Java color from an OLE_COLOR.

Syntax

static public java.awt.Color getColorFromOLECOLOR(int colorindex);

Return Value

Returns the Java color that is derived from the OLE_COLOR.

Parameters

colorindex The OLE_COLOR that the Java color is created from.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.