Gets length of the logical line.
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public int GetLineLength( int lineIndex, bool includesEolCode ) |
Visual Basic |
---|
Public Function GetLineLength ( lineIndex As Integer, includesEolCode As Boolean ) As Integer |
Parameters
- lineIndex
- Type: System..::..Int32
Index of the line of which to get the length.
- includesEolCode
- Type: System..::..Boolean
Whether EOL codes should be count or not.
Return Value
Type: Int32Length of the specified line in character count.
Remarks
This method retrieves length of logical line. If includesEolCode was true, this method count EOL code as line content.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | Specified index is out of valid range. |