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

dxGetBrushData(HBRUSH,TLogBrush) Method

Returns settings of a brush object identified by its handle.

#Declaration

Delphi
function dxGetBrushData(ABrushHandle: HBRUSH; out ALogBrush: TLogBrush): Boolean;

#Parameters

Name Type
ABrushHandle HBRUSH
ALogBrush TLogBrush

#Returns

Type
Boolean

#Remarks

Call this function to obtain the style, color, and hatch settings of the brush object whose handle is passed as the ABrushHandle parameter.

The first overloaded variant stores the brush settings to the ALogBrush parameter and returns True if these settings are found. Otherwise, False is returned.

The second overloaded variant returns the brush settings as the function’s result.

See Also