我希望与 RichTextBox.GetLineFromCharIndex()

我有一个行号,我想检索该行的char索引。 该方法可能被称为 RichTextBox.GetCharIndexFromLine()

简单吗?

有帮助吗?

解决方案

richTextBox1.GetFirstCharIndexFromLine(int lineNumber)

其他提示

是的,方法是RichTextBox.GetFirstCharIndexFromLine(LineNumber)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top