Class LineHandleRangedWriter
Ranged line handle writer (with start and end positions)
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 LineHandleRangedWriter
Methods
| Edit this page View SourcePrintLineWithHandle(string, int, 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 startPos, int endPos)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
PrintLineWithHandle(string, int, 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 startPos, int endPos, Color color)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Color | color | The color |
PrintLineWithHandle(string[], int, 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 startPos, int endPos)
Parameters
Type | Name | Description |
---|---|---|
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
PrintLineWithHandle(string[], int, 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 startPos, int endPos, Color color)
Parameters
Type | Name | Description |
---|---|---|
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Color | color | The color |
PrintLineWithHandleConditional(bool, string, int, 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 startPos, int endPos)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself as the start. |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
PrintLineWithHandleConditional(bool, string, int, 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 startPos, int endPos, 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 | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Color | color | The color |
PrintLineWithHandleConditional(bool, string[], int, 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 startPos, int endPos)
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 | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
PrintLineWithHandleConditional(bool, string[], int, 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 startPos, int endPos, 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 | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Color | color | The color |
RenderLineWithHandle(string, int, 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 startPos, int endPos)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandle(string, int, 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 startPos, int endPos, Color color)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Color | color | The color |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandle(string[], int, 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 startPos, int endPos)
Parameters
Type | Name | Description |
---|---|---|
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandle(string[], int, 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 startPos, int endPos, Color color)
Parameters
Type | Name | Description |
---|---|---|
string[] | Array | A string array containing the contents of the file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Color | color | The color |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandleConditional(bool, string, int, 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 startPos, int endPos)
Parameters
Type | Name | Description |
---|---|---|
bool | Condition | The condition to satisfy |
string | Filename | Path to text file |
int | LineNumber | Line number (not index) |
int | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandleConditional(bool, string, int, 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 startPos, int endPos, 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 | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Color | color | The color |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandleConditional(bool, string[], int, 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 startPos, int endPos)
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 | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Returns
Type | Description |
---|---|
string |
RenderLineWithHandleConditional(bool, string[], int, 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 startPos, int endPos, 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 | startPos | Column number (not index). This tells the handle where to place itself |
int | endPos | Column number (not index). This tells the handle where to place itself as the end. Should be bigger than the start position. |
Color | color | The color |
Returns
Type | Description |
---|---|
string |