CGpGraphics.Clearmethod
Clears a **Graphics** object to a specified color.
Syntax
FUNCTION Clear (BYVAL colour AS ARGB) AS GpStatus
Parameters
| Name | Description | |
|---|---|---|
Colour | The color to paint the background. |
Return value
If the function succeeds, it returns StatusOk, which is an element of the GpStatus enumeration.
If the function fails, it returns one of the other elements of the GpStatus enumeration.
Description
Clears a Graphics object to a specified color.
Reference
- Include file
CGpGraphics.inc - Defined in AfxNova/CGpGraphics.inc:694
- Documented in Graphics/GdiPlus Classes/CGpGraphics Classes.md
- Topic: CGpGraphics Class