Microsoft SDK for Java

loadPaletteFromBitmap

This method of the DirectDraw Class loads a palette.

Syntax

public DirectDrawPalette loadPaletteFromBitmap(String bName);

Return Value

Returns the DirectDrawPalette object if successful; otherwise, returns null.

Parameters

bName Name of the bitmap that contains the palette to load.

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