Gets length of the logical line
which contains the specified char-index.
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public int GetLineLengthFromCharIndex( int charIndex ) |
Visual Basic |
---|
Public Function GetLineLengthFromCharIndex ( charIndex As Integer ) As Integer |
Parameters
- charIndex
- Type: System..::..Int32
Length of the line which contains this index will be retrieved.
Return Value
Type: Int32Length of the specified logical line in character count.
Remarks
This method retrieves length of logical line. Note that this method does not count EOL codes.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | Specified index is out of valid range. |