Page 1 of 1

number of cells on a page

Posted: Sat Oct 21, 2006 1:34 am
by jwkerns
We are inserting cells of dynamic size into a richview component.
I want to know if there is a way to determine the height( number of lines) of a cell on the fly and how many lines fit into a page. Does this make sense? Some of the cells will have various sized images so how do I determine how big it is? For example , I have 2 columns of cells. I want to number each cell. I need to know how many of my various cells fill each column. How can I calculate this?

Posted: Sat Oct 21, 2006 7:59 pm
by Sergey Tkachenko
I am afraid not. Calculations are too complicated.
PS: new version of TRichView can print one table row on several pages... (currently it is an alpha version available for registered users)