Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ConsoleColoredString PadLeft(int)

Declaration

public ConsoleColoredString PadLeft(
    int totalWidth
)

Summary

Returns a new string that right-aligns the characters in this instance by padding them with spaces on the left, 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.