Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ConsoleColoredString PadLeft(int, ConsoleColoredChar)

Declaration

public ConsoleColoredString PadLeft(
    int totalWidth,
    ConsoleColoredChar paddingChar
)

Summary

Returns a new string that right-aligns the characters in this instance by padding them on the left with a specified colored character, for a specified total length.

Parameters

inttotalWidth The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
ConsoleColoredCharpaddingChar A colored padding character.