Click or drag to resize

KryptonRibbonGroupTextBoxGetLineFromCharIndex Method

Retrieves the line number from the specified character position within the text of the RichTextBox control.

Namespace: Internal.ComponentFactory.Krypton.Ribbon
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public int GetLineFromCharIndex(
	int index
)

Parameters

index  Int32
The character index position to search.

Return Value

Int32
The zero-based line number in which the character index is located.
See Also