.net 在System.Windows.Forms.RichTextBox中,如何将行号转换为字符位置?
我想要的是相反的 我有一个行号,我想检索该行的字符索引。 该方法可能被称为.net 在System.Windows.Forms.RichTextBox中,如何将行号转换为字符位置?,.net,winforms,richtextbox,.net,Winforms,Richtextbox,我想要的是相反的 我有一个行号,我想检索该行的字符索引。 该方法可能被称为RichTextBox.GetCharIndexFromLine() 简单地说,这可能吗 是,方法是RichTextBox。GetFirstCharIndexFromLine(行号)是,方法是RichTextBox。GetFirstCharIndexFromLine(行号)该行索引的第一个字符?该行索引的第一个字符? richTextBox1.GetFirstCharIndexFromLine(int lineNumber
RichTextBox.GetCharIndexFromLine()
简单地说,这可能吗 是,方法是RichTextBox。GetFirstCharIndexFromLine(行号)是,方法是RichTextBox。GetFirstCharIndexFromLine(行号)该行索引的第一个字符?该行索引的第一个字符?
richTextBox1.GetFirstCharIndexFromLine(int lineNumber)