use GetPositionFromCharIndex method.
you must know the index of your carrage return. for example, if your text is
"hello\nword" :
lineHeight=myRichText.GetPositionFromCharIndex(6).Y-myRichText.GetPositionFr
omCharIndex(5).Y;
Hope it helps.
Ludovic Soeur.
"Beringer" <(E-Mail Removed)> a écrit dans le message de
news

dFMd.8288$6u.5029@fed1read02...
> Does anybody know a way to get the heights of the various lines of text in
a
> RichTextBox?
>
> I'm not sure if "height" is the proper term. But what I'm getting at is
> that if you set the
> font size of some selected text on a line the entire line "height" expands
> to the new font
> size.
>
> I want that!
>
> Thanks in advance,
> Eric
>
>
>