Back to Devexpress

TcxCustomImageList.GetPixelFormat(HIMAGELIST) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-getpixelformat-x28-winapi-dot-commctrl-dot-himagelist-x29.md

latest938 B
Original Source

TcxCustomImageList.GetPixelFormat(HIMAGELIST) Method

Returns the pixel format of the image list by its handle.

Declaration

delphi
class function GetPixelFormat(AHandle: HIMAGELIST): Integer;

Parameters

NameTypeDescription
AHandleHIMAGELIST

A handle to the source image list.

|

Returns

TypeDescription
Integer

0 if the specified handle does not correspond to an image list; otherwise, the number of bits per pixel in the stored images.

|

See Also

ColorDepth

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit