Back to Devexpress

cxGetBitmapPixelFormat(TBitmap) Method

vcl-dxcoregraphics-dot-cxgetbitmappixelformat-x28-ddceecf6-x29.md

latest854 B
Original Source

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

NameType
ABitmapTBitmap

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

dxCoreGraphics Unit