Skip to main content

dxGetBrushData(HBRUSH,TLogBrush) Method

Returns settings of a brush object identified by its handle.

Declaration

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