Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

cxGetBitmapPixelFormat(TBitmap) Method

Returns the color depth of a bitmap image stored in the specified bitmap container.

#Declaration

Delphi
function cxGetBitmapPixelFormat(ABitmap: TBitmap): Integer;

#Parameters

Name Type
ABitmap TBitmap

#Returns

Type
Integer

#Remarks

Call this global function to obtain the number of bits per pixel corresponding to the pixel format of the bitmap container passed as the ABitmap parameter.

See Also