Search Results for

    Class TextWriterWhereColor

    Console text writer with color support (positional write)

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


    Methods

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

    Returns
    string
    Declaration
    public static string RenderWhere(string msg, int Left, int Top, bool Return, int RightMargin, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

    Returns
    string
    Declaration
    public static string RenderWhere(string msg, int Left, int Top, bool Return, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

    Returns
    string
    Declaration
    public static string RenderWhere(string msg, int Left, int Top, bool Return, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

    Returns
    string
    Declaration
    public static string RenderWhere(string msg, int Left, int Top, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, params object[] vars)
    Parameters
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

    Returns
    string
    Declaration
    public static string RenderWhere(string msg, int Left, int Top, ThemeColorType ForegroundColor = ThemeColorType.NeutralText, ThemeColorType BackgroundColor = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    ForegroundColor ThemeColorType

    A foreground color that will be changed to.

    BackgroundColor ThemeColorType

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    ForegroundColor Color

    A foreground color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    ForegroundColor Color

    A foreground color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    ForegroundColor Color

    A foreground color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    vars object[]

    Variables to format the message before it's written.

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

    Renders the text with location support.

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    vars object[]

    Variables to format the message before it's written.

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

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

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    colorType ThemeColorType

    A type of colors that will be changed.

    vars object[]

    Variables to format the message before it's written.

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

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

    Declaration
    public static void WriteWhere(string msg, int Left, int Top, bool Return, int RightMargin, ThemeColorType colorTypeForeground = ThemeColorType.NeutralText, ThemeColorType colorTypeBackground = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    colorTypeForeground ThemeColorType

    A type of colors that will be changed for the foreground color.

    colorTypeBackground ThemeColorType

    A type of colors that will be changed for the background color.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    vars object[]

    Variables to format the message before it's written.

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

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

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    colorType ThemeColorType

    A type of colors that will be changed.

    vars object[]

    Variables to format the message before it's written.

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

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

    Declaration
    public static void WriteWhere(string msg, int Left, int Top, bool Return, ThemeColorType colorTypeForeground = ThemeColorType.NeutralText, ThemeColorType colorTypeBackground = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    colorTypeForeground ThemeColorType

    A type of colors that will be changed for the foreground color.

    colorTypeBackground ThemeColorType

    A type of colors that will be changed for the background color.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    vars object[]

    Variables to format the message before it's written.

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

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

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

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

    Left int

    Column number in console

    Top int

    Row number in console

    colorType ThemeColorType

    A type of colors that will be changed.

    vars object[]

    Variables to format the message before it's written.

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

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

    Declaration
    public static void WriteWhere(string msg, int Left, int Top, ThemeColorType colorTypeForeground = ThemeColorType.NeutralText, ThemeColorType colorTypeBackground = ThemeColorType.Background, params object[] vars)
    Parameters
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    colorTypeForeground ThemeColorType

    A type of colors that will be changed for the foreground color.

    colorTypeBackground ThemeColorType

    A type of colors that will be changed for the background color.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    color Color

    A color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    ForegroundColor Color

    A foreground color that will be changed to.

    BackgroundColor Color

    A background color that will be changed to.

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    RightMargin int

    The right margin

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    Return bool

    Whether or not to return to old position

    vars object[]

    Variables to format the message before it's written.

    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
    Name Type Description
    msg string

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

    Left int

    Column number in console

    Top int

    Row number in console

    vars object[]

    Variables to format the message before it's written.

    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •