Console: MoveBufferArea

MoveBufferArea

Moves one section of the screen buffer to another location within the screen buffer.



 Public Sub MoveBufferArea(
	  ByVal SourceLeft As Long,
	  ByVal SourceTop As Long,
	  ByVal SourceWidth As Long,
	  ByVal SourceHeight As Long,
	  ByVal TargetLeft As Long,
	  ByVal TargetTop As Long,
	  Optional ByVal SourceChar As Variant = " ",
	  Optional ByVal SourceForeColor As ConsoleColor = ConsoleColor. Black,
	  Optional ByVal SourceBackColor As ConsoleColor = CurrentColor )

Parameters

SourceLeft
[ByVal] Long. The left side of the area to be moved.
SourceTop
[ByVal] Long. The top side of the area to be moved.
SourceWidth
[ByVal] Long. The width of the area to be moved.
SourceHeight
[ByVal] Long. The height of the area to be moved.
TargetLeft
[ByVal] Long. The starting left position to move the area to.
TargetTop
[ByVal] Long. The starting top position to move the area to.
SourceChar
[ByVal] Optional. Variant. The character to fill the moved area in with. This can be a String or Ascii value.  

Default: " "

SourceForeColor
[ByVal] Optional. ConsoleColor. The forecolor used when filling in the original moved area.  

Default: ConsoleColor . Black

SourceBackColor
[ByVal] Optional. ConsoleColor. The backcolor used when filling in the original moved area.  

Default: CurrentColor

See Also

Project CorLib Overview

Class Console Overview