rvico TRichView Reference | TRichView

TCustomRichView.DocumentHeight (read-only)

Top  Previous  Next

Height of document (height of scrollable area)

property DocumentHeight: Integer;

Document must be formatted to obtain a correct value.

Example:

if MyRichView.DocumentHeight>Screen.Height then

  MyRichView.Height := Screen.Height

else

  MyRichView.Height := MyRichView.DocumentHeight;

See also:

Scrolling.


TRichView © trichview.com