get number of lines in rich editor

Login to reply to this topic.
Thu, 2005-02-10 20:51
Joined: 2004-12-23
Forum posts: 15
How to get number of all lines (including not currently visible) of CEikRichTextEditor?

Fri, 2005-02-11 08:22
Joined: 2005-02-01
Forum posts: 10
get number of lines in rich editor
Maybe count total chars and divide by CEikRichTextEditor::CEikEdwin::AvgCharsPerLine() ?
or do something with
CEikRichTextEditor::CEikEdwin::AvgLinesInViewRect ?

All the best

Og

Thu, 2005-11-24 07:23
Joined: 2005-11-16
Forum posts: 34
Re: get number of lines in rich editor
That wont work if you have an image in your richtextbox. You can try iNumberOfLines which comes in handy with your CEikEdwin.

  • Login to reply to this topic.