trichview.com

trichview.support




Re: Line count in justify text


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/11/2002 15:26:14


Yes, ItemCount is not a line count. Text item can be placed on several lines

(because of wrapping), and several items can be on the same line.


Solution:

rv.GetLineNo(rv.ItemCount-1, rv.GetOffsAfterItem(rv.ItemCount-1))


This code requires the latest version of RichView.


> I need to count lines in particular text.

> I use the command ItemsCount but in justify text don;t have the line

count..What

> can I do?





Powered by ABC Amber Outlook Express Converter