Class LineHandleWriter
Line handle writer
Inheritance
Namespace: Terminaux.Writer.MiscWriters
Assembly: Terminaux.dll
Syntax
[Obsolete("This is considered a legacy method of writing this fancy text and will be removed in a future version of Terminaux. Please use its cyclic writer equivalent.")]
public static class LineHandleWriter
Methods
| Edit this page View SourcePrintLineWithHandle(string, int, int)
Prints the line of a text file with the specified line number and the column number
Declaration
public static void PrintLineWithHandle(string Filename, int LineNumber, int ColumnNumber)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
PrintLineWithHandle(string, int, int, Color)
Prints the line of a text file with the specified line number and the column number
Declaration
public static void PrintLineWithHandle(string Filename, int LineNumber, int ColumnNumber, Color color)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Color | color | The color |
PrintLineWithHandle(string[], int, int)
Prints the line of a text file with the specified line number and the column number
Declaration
public static void PrintLineWithHandle(string[] Array, int LineNumber, int ColumnNumber)
Parameters
Type | Name | Description |
---|---|---|
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
PrintLineWithHandle(string[], int, int, Color)
Prints the line of a text file with the specified line number and the column number
Declaration
public static void PrintLineWithHandle(string[] Array, int LineNumber, int ColumnNumber, Color color)
Parameters
Type | Name | Description |
---|---|---|
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Color | color | The color |
PrintLineWithHandleConditional(bool, string, int, int)
Prints the line of a text file with the specified line number and the column number if the specified condition is satisfied
Declaration
public static void PrintLineWithHandleConditional(bool Condition, string Filename, int LineNumber, int ColumnNumber)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
PrintLineWithHandleConditional(bool, string, int, int, Color)
Prints the line of a text file with the specified line number and the column number if the specified condition is satisfied
Declaration
public static void PrintLineWithHandleConditional(bool Condition, string Filename, int LineNumber, int ColumnNumber, Color color)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Color | color | The color |
PrintLineWithHandleConditional(bool, string[], int, int)
Prints the line of a text file with the specified line number and the column number if the specified condition is satisfied
Declaration
public static void PrintLineWithHandleConditional(bool Condition, string[] Array, int LineNumber, int ColumnNumber)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
PrintLineWithHandleConditional(bool, string[], int, int, Color)
Prints the line of a text file with the specified line number and the column number if the specified condition is satisfied
Declaration
public static void PrintLineWithHandleConditional(bool Condition, string[] Array, int LineNumber, int ColumnNumber, Color color)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Color | color | The color |
RenderLineWithHandle(string, int, int)
Renders the line of a text file with the specified line number and the column number
Declaration
public static string RenderLineWithHandle(string Filename, int LineNumber, int ColumnNumber)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandle(string, int, int, Color)
Renders the line of a text file with the specified line number and the column number
Declaration
public static string RenderLineWithHandle(string Filename, int LineNumber, int ColumnNumber, Color color)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Color | color | The color |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandle(string[], int, int)
Renders the line of a text file with the specified line number and the column number
Declaration
public static string RenderLineWithHandle(string[] Array, int LineNumber, int ColumnNumber)
Parameters
Type | Name | Description |
---|---|---|
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandle(string[], int, int, Color)
Renders the line of a text file with the specified line number and the column number
Declaration
public static string RenderLineWithHandle(string[] Array, int LineNumber, int ColumnNumber, Color color)
Parameters
Type | Name | Description |
---|---|---|
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Color | color | The color |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandleConditional(bool, string, int, int)
Renders the line of a text file with the specified line number and the column number if the specified condition is satisfied
Declaration
public static string RenderLineWithHandleConditional(bool Condition, string Filename, int LineNumber, int ColumnNumber)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandleConditional(bool, string, int, int, Color)
Renders the line of a text file with the specified line number and the column number if the specified condition is satisfied
Declaration
public static string RenderLineWithHandleConditional(bool Condition, string Filename, int LineNumber, int ColumnNumber, Color color)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Color | color | The color |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandleConditional(bool, string[], int, int)
Renders the line of a text file with the specified line number and the column number if the specified condition is satisfied
Declaration
public static string RenderLineWithHandleConditional(bool Condition, string[] Array, int LineNumber, int ColumnNumber)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandleConditional(bool, string[], int, int, Color)
Renders the line of a text file with the specified line number and the column number if the specified condition is satisfied
Declaration
public static string RenderLineWithHandleConditional(bool Condition, string[] Array, int LineNumber, int ColumnNumber, Color color)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | ColumnNumber | Column number (not index). This tells the handle where to place itself |
Color | color | The color |
Returns
Type | Description |
---|---|
string |