calculating / getting Hight and Witdh

General TRichView support forum. Please post your questions here
Post Reply
mgoergen
Posts: 11
Joined: Wed Nov 09, 2005 8:06 am

calculating / getting Hight and Witdh

Post 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
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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)
Post Reply