TRVDocParameters.ResetLayout

<< Click to display table of contents >>

TRVDocParameters.ResetLayout

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.