rvico TRichView Reference | TRichView | TRVDocParameters


Top  Previous  Next

Resets all sizes to default values measured in Units.

procedure ResetLayout;

It makes sense to call this method on "File | New" command.

The following properties are reset:

PageWidth, PageHeight – page size;

LeftMargin, RightMargin, TopMargin, BottomMargin – margins;

HeaderY, FooterY – position of header and footer.

In addition, this method resets Orientation to poPortrait and MirrorMargins to False.

TRichView © trichview.com