Back to Devexpress

dxGetBrushData(HBRUSH,TLogBrush) Method

vcl-dxcoregraphics-dot-dxgetbrushdata-x28-c23664c4-x29.md

latest1.2 KB
Original Source

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

NameType
ABrushHandleHBRUSH
ALogBrushTLogBrush

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

dxCoreGraphics.dxGetFontData

dxCoreGraphics.dxGetPenData

dxCoreGraphics Unit