Microsoft SDK for Java

getNumberOfColors

This method of the Device Class retrieves the number of colors used by the device.

Syntax

public int getNumberOfColors();

Return Value

Returns the number of colors.

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