Console: FillBufferArea

FillBufferArea

Fills a specified region in the screen buffer with a character and color attributes.



 Public Sub FillBufferArea(
	  ByVal Left As Long,
	  ByVal Top As Long,
	  ByVal Width As Long,
	  ByVal Height As Long,
	  Optional ByVal FillChar As Variant = " ",
	  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 filling from.
Top
[ByVal] Long. The top position in the screen buffer to start filling from.
Width
[ByVal] Long. The width of the area to be filled.
Height
[ByVal] Long. The height of the area to be filled.
FillChar
[ByVal] Optional. Variant. The character to fill the area with.  

Default: " "

Forecolor
[ByVal] Optional. ConsoleColor. The color of the fill character.  

Default: ConsoleColor . CurrentColor

BackColor
[ByVal] Optional. ConsoleColor. The color of the background behind the fill character.  

Default: ConsoleColor . CurrentColor

See Also

Project CorLib Overview

Class Console Overview