Brush::GetType method (gdiplusbrush.h)

The Brush::GetType method gets the type of this brush.

Syntax

BrushType GetType();

Return value

Type: BrushType

This method returns the type of this brush. The value returned is one of the elements of the BrushType enumeration.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusbrush.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Brush

Brushes and Filled Shapes

HatchBrush

LinearGradientBrush

PathGradientBrush

SolidBrush

TextureBrush

Using a Brush to Fill Shapes