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 correct value.

This value is multiple of VSmalStep.

Example:

if MyRichView.DocumentHeight>Screen.Height then

  MyRichView.Height := Screen.Height

else

  MyRichView.Height := MyRichView.DocumentHeight;

See also:

Scrolling.


RichView © Sergey Tkachenko