Calculates location of character at specified index in horizontal ruler index.
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
int GetHRulerIndex( int lineIndex, int columnIndex ) |
Visual Basic |
---|
Function GetHRulerIndex ( lineIndex As Integer, columnIndex As Integer ) As Integer |
Parameters
- lineIndex
- Type: System..::..Int32
The line index of the character to calculate its location.
- columnIndex
- Type: System..::..Int32
The column index of the character to calculate its location.
Return Value
Type: Int32Horizontal ruler index of the character.
Remarks
This method calculates location of character at specified index in horizontal ruler index.
'Horizontal ruler index' here means how many small lines drawn on the horizontal ruler exist between left-end of the text area and the character at index specified by charIndex. This value is zero-based index.