ClearBufferArea
Clears a specificed region in the screen buffer.
Public Sub ClearBufferArea(
ByVal Left As Long,
ByVal Top As Long,
ByVal Width As Long,
ByVal Height As Long,
Optional ByVal Forecolor As ConsoleColor = ConsoleColor. CurrentColor,
Optional ByVal BackColor As ConsoleColor = ConsoleColor. CurrentColor )
Parameters
- Left
-
[ByVal]
Long.
The left position in the screen buffer to start clearing from.
- Top
-
[ByVal]
Long.
The top position in the screen buffer to start clearing from.
- Width
-
[ByVal]
Long.
The width of the area to be cleared.
- Height
-
[ByVal]
Long.
The height of the area to be cleared.
- Forecolor
-
[ByVal]
Optional.
ConsoleColor.
The color to set the text foreground color to in the cleared area.
Default: ConsoleColor . CurrentColor
- BackColor
-
[ByVal]
Optional.
ConsoleColor.
The color to set the text background color to in the cleared area.
Default: ConsoleColor . CurrentColor
See Also
Project CorLib Overview
Class Console Overview