Page 1 of 1

calculating / getting Hight and Witdh

Posted: Tue Dec 13, 2005 6:18 am
by mgoergen
Hi

For a very special problem I would like to ask if it possible to get the height and width of a RV so that there is no need for RV to display Scrollbars. Of cause Hight and Widht depends on inserted Text, Pictures or Tables (if tables had fixed height.

So I hope this is possible and answers are welcome.

regards
Mirko

Posted: Tue Dec 13, 2005 10:10 am
by Sergey Tkachenko
Height depends on width.
Usually, width is a width of the widest image or table, or window width.
Document height is returned (after the document was formatted) by RichView.DocumentHeight (window border width is not included)