Back to Devexpress

dxGetAlphaState(TBitmap) Method

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

latest1005 B
Original Source

dxGetAlphaState(TBitmap) Method

Identifies if the specified bitmap includes pixel transparency information (and whether it is in use).

Declaration

delphi
function dxGetAlphaState(const ABitmap: TBitmap): TdxAlphaState;

Parameters

NameType
ABitmapTBitmap

Returns

Type
TdxAlphaState

Remarks

This function returns the specified image’s pixel transparency information state. Refer to the TdxAlphaState type description for detailed information on all available options.

The first overloaded dxGetAlphaState global function variant accepts a bitmap as an array of pixel colors while the second variant accepts an image stored in a TBitmap container.

See Also

dxCoreGraphics Unit