Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
IView..::..GetHRulerIndex Method (Int32, Int32)
IView Interface See Also Send Feedback

Calculates location of character at specified index in horizontal ruler index.

Namespace: Sgry.Azuki
Assembly: 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: Int32
Horizontal 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.

# See Also

IView Interface
IView..::..IView Members
GetHRulerIndex Overload
Sgry.Azuki Namespace