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

GetLineFromCharIndex() public method

Retrieves the line number from the specified character position within the text of the RichTextBox control.
public GetLineFromCharIndex ( int index ) : int
index int The character index position to search.
return int
        public int GetLineFromCharIndex(int index)
        {
            return _richTextBox.GetLineFromCharIndex(index);
        }