Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 2.75 KB

nf-gdiplusgraphics-graphics-clear.md

File metadata and controls

85 lines (65 loc) · 2.75 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist req.product ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:gdiplusgraphics.Graphics.Clear
Graphics::Clear (gdiplusgraphics.h)
The Graphics::Clear method clears a Graphicsobject to a specified color.
Clear
Clear method [GDI+]
Clear method [GDI+]
Graphics class
Graphics class [GDI+]
Clear method
Graphics.Clear
Graphics::Clear
_gdiplus_CLASS_Graphics_Clear_color_
gdiplus._gdiplus_CLASS_Graphics_Clear_color_
gdiplus\_gdiplus_CLASS_Graphics_Clear_color_.htm
gdiplus
VS|gdicpp|~\gdiplus\gdiplusreference\classes\graphicsclass\graphicsmethods\clear.htm
12/05/2018
Clear, Clear method [GDI+], Clear method [GDI+],Graphics class, Graphics class [GDI+],Clear method, Graphics.Clear, Graphics::Clear, _gdiplus_CLASS_Graphics_Clear_color_, gdiplus._gdiplus_CLASS_Graphics_Clear_color_
gdiplusgraphics.h
Gdiplus.h
Windows
Windows XP, Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Gdiplus.lib
Gdiplus.dll
Windows
GDI+ 1.0
19H1
Graphics::Clear
gdiplusgraphics/Graphics::Clear
c++
APIRef
kbSyntax
COM
Gdiplus.dll
Graphics.Clear

Graphics::Clear

-description

The Graphics::Clear method clears a Graphics object to a specified color.

-parameters

-param color [in, ref]

Type: const Color

Reference to the Color object that specifies the color to paint the background.

-returns

Type: Status

If the method succeeds, it returns Ok, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.

-see-also

Color

DrawRectangle Methods

Graphics