ConsoleStringExtensions.WriteFullConsoleLine Method

Tungsten Suite

ConsoleStringExtensionsWriteFullConsoleLine Method

Writes text to the console. Columns which the text doesn't overwrite are filled with the specified padding character.

Namespace:  W
Assembly:  Tungsten.Console (in Tungsten.Console.dll) Version: 2.0.0
Syntax
C#
public static void WriteFullConsoleLine(
	this string message,
	int verticalOffset = -1,
	char paddingChar = ''
)

Parameters

message
Type: SystemString
The text to write to the console
verticalOffset (Optional)
Type: SystemInt32
The line (or row) on which to write the text. 0 is the top of the Console.
paddingChar (Optional)
Type: SystemChar
The padding character used to fill the unused portion of the line

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also