and how about this one:
int charCount;
int lineCount;
this.CreateGraphics().MeasureString(
richTextBox1.Text,
richTextBox1.Font,
new SizeF(richTextBox1.Width, richTextBox1.Height),
new StringFormat(StringFormatFlags.FitBlackBox),
out charCount,
out lineCount);
the lineCount-1 value seems to be the correct visible lines count