Click or drag to resize

KryptonRibbonGroupTextBoxGetCharIndexFromPosition Method

Retrieves the index of the character nearest to the specified location.

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 GetCharIndexFromPosition(
	Point pt
)

Parameters

pt  Point
The location to search.

Return Value

Int32
The zero-based character index at the specified location.
See Also