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

C#
Visual Basic

Azuki 1.7 Documentation
AzukiControl..::..GetHRulerIndex Method (Int32)
AzukiControl Class See Also Send Feedback

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

Namespace: Sgry.Azuki.WinForms
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    public int GetHRulerIndex(
    	int charIndex
    )

Visual Basic
    Public Function GetHRulerIndex (
    	charIndex As Integer
    ) As Integer

#### Parameters

charIndex
  Type: System..::..Int32
  The 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

AzukiControl Class
AzukiControl..::..AzukiControl Members
GetHRulerIndex Overload
Sgry.Azuki.WinForms Namespace