Search Results for

    Show / Hide Table of Contents

    Class TextWriterWhereColor

    Console text writer with color support (positional write)

    Inheritance
    object
    TextWriterWhereColor
    Namespace: Terminaux.Writer.ConsoleWriters
    Assembly: Terminaux.dll
    Syntax
    public static class TextWriterWhereColor

    Methods

    | Edit this page View Source

    RenderWhere(string, int, int, bool, int, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhere(string msg, int Left, int Top, bool Return, int RightMargin, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    int RightMargin

    The right margin

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderWhere(string, int, int, bool, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhere(string msg, int Left, int Top, bool Return, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderWhere(string, int, int, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhere(string msg, int Left, int Top, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderWhereColor(string, int, int, bool, int, Color, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhereColor(string msg, int Left, int Top, bool Return, int RightMargin, Color ForegroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    int RightMargin

    The right margin

    Color ForegroundColor

    A foreground color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderWhereColor(string, int, int, bool, Color, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhereColor(string msg, int Left, int Top, bool Return, Color ForegroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    Color ForegroundColor

    A foreground color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderWhereColor(string, int, int, Color, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhereColor(string msg, int Left, int Top, Color ForegroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    Color ForegroundColor

    A foreground color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderWhereColorBack(string, int, int, bool, int, Color, Color, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhereColorBack(string msg, int Left, int Top, bool Return, int RightMargin, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    int RightMargin

    The right margin

    Color ForegroundColor

    A foreground color that will be changed to.

    Color BackgroundColor

    A background color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderWhereColorBack(string, int, int, bool, Color, Color, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhereColorBack(string msg, int Left, int Top, bool Return, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    Color ForegroundColor

    A foreground color that will be changed to.

    Color BackgroundColor

    A background color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    RenderWhereColorBack(string, int, int, Color, Color, params object[])

    Renders the text with location support.

    Declaration
    public static string RenderWhereColorBack(string msg, int Left, int Top, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    Color ForegroundColor

    A foreground color that will be changed to.

    Color BackgroundColor

    A background color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    string
    | Edit this page View Source

    WriteWhere(string, int, int, bool, int, params object[])

    Outputs the text into the terminal prompt with location support.

    Declaration
    public static void WriteWhere(string msg, int Left, int Top, bool Return, int RightMargin, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    int RightMargin

    The right margin

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWhere(string, int, int, bool, params object[])

    Outputs the text into the terminal prompt with location support.

    Declaration
    public static void WriteWhere(string msg, int Left, int Top, bool Return, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWhere(string, int, int, params object[])

    Outputs the text into the terminal prompt with location support.

    Declaration
    public static void WriteWhere(string msg, int Left, int Top, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWhereColor(string, int, int, bool, int, Color, params object[])

    Outputs the text into the terminal prompt with location support, and sets colors as needed.

    Declaration
    public static void WriteWhereColor(string msg, int Left, int Top, bool Return, int RightMargin, Color color, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    int RightMargin

    The right margin

    Color color

    A color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWhereColor(string, int, int, bool, Color, params object[])

    Outputs the text into the terminal prompt with location support, and sets colors as needed.

    Declaration
    public static void WriteWhereColor(string msg, int Left, int Top, bool Return, Color color, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    Color color

    A color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWhereColor(string, int, int, Color, params object[])

    Outputs the text into the terminal prompt with location support, and sets colors as needed.

    Declaration
    public static void WriteWhereColor(string msg, int Left, int Top, Color color, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    Color color

    A color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWhereColorBack(string, int, int, bool, int, Color, Color, params object[])

    Outputs the text into the terminal prompt with location support, and sets colors as needed.

    Declaration
    public static void WriteWhereColorBack(string msg, int Left, int Top, bool Return, int RightMargin, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    int RightMargin

    The right margin

    Color ForegroundColor

    A foreground color that will be changed to.

    Color BackgroundColor

    A background color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWhereColorBack(string, int, int, bool, Color, Color, params object[])

    Outputs the text into the terminal prompt with location support, and sets colors as needed.

    Declaration
    public static void WriteWhereColorBack(string msg, int Left, int Top, bool Return, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    Color ForegroundColor

    A foreground color that will be changed to.

    Color BackgroundColor

    A background color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWhereColorBack(string, int, int, Color, Color, params object[])

    Outputs the text into the terminal prompt with location support, and sets colors as needed.

    Declaration
    public static void WriteWhereColorBack(string msg, int Left, int Top, Color ForegroundColor, Color BackgroundColor, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    Color ForegroundColor

    A foreground color that will be changed to.

    Color BackgroundColor

    A background color that will be changed to.

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWherePlain(string, int, int, bool, int, params object[])

    Outputs the text into the terminal prompt with location support.

    Declaration
    public static void WriteWherePlain(string msg, int Left, int Top, bool Return, int RightMargin, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    int RightMargin

    The right margin

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWherePlain(string, int, int, bool, params object[])

    Outputs the text into the terminal prompt with location support.

    Declaration
    public static void WriteWherePlain(string msg, int Left, int Top, bool Return, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    bool Return

    Whether or not to return to old position

    object[] vars

    Variables to format the message before it's written.

    | Edit this page View Source

    WriteWherePlain(string, int, int, params object[])

    Outputs the text into the terminal prompt with location support.

    Declaration
    public static void WriteWherePlain(string msg, int Left, int Top, params object[] vars)
    Parameters
    Type Name Description
    string msg

    A sentence that will be written to the terminal prompt. Supports {0}, {1}, ...

    int Left

    Column number in console

    int Top

    Row number in console

    object[] vars

    Variables to format the message before it's written.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX