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

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

Name Type
ABitmap TBitmap

#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