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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public int GetLineFromCharIndex(
	int index
)

Parameters

index
Type: SystemInt32
The character index position to search.

Return Value

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