ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupRichTextBox.GetCharIndexFromPosition C# (CSharp) Method

GetCharIndexFromPosition() public method

Retrieves the index of the character nearest to the specified location.
public GetCharIndexFromPosition ( Point pt ) : int
pt Point The location to search.
return int
        public int GetCharIndexFromPosition(Point pt)
        {
            return _richTextBox.GetCharIndexFromPosition(pt);
        }