GdipGetBrushType

 

 

Description

Gets the type of this brush.

Syntax

GpStatus WINGDIPAPI GdipGetBrushType(

    GpBrush *brush,

    GpBrushType *type

);

PowerBASIC Syntax

DECLARE FUNCTION GdipGetBrushType ( _

    BYVAL brush AS DWORD, _

    BYREF ptype AS LONG _

) AS LONG

Parameters

 

brush

[in] Pointer to the Brush object created with GdipCreateSolidFill, GdipCreateHatchBrush, GdipCloneBrush or similar function.

type

[out] Pointer to a LONG variable that receives the type of this brush. The value returned is one of the elements of the BrushType enumeration.

 

 

Valid HTML 4.01 Transitional