ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgGetPalette

HANDLE IMAPI ImgGetPalette (hImage)

This function returns a handle to a GDI logical palette which describes the color content of an image.

 

Parameter

Type

Description

hImage

HANDLE

Identifies the image.

 

Return Value

The return value is a handle to a GDI logical palette. It is NULL if an error occurred.

Comments

The handle returned from this function is created via the GDI CreatePalette function, and must be selected into a device context and realized before it has an effect on image display.

Note

Your application is responsible for deleting this object when it is no longer of any use. Use the DeleteObject call to delete your palette.

 

 


© 1995-2004 Data Techniques, Inc. All rights reserved.