TRVPrint.AssignDocParameters

<< Click to display table of contents >>

TRVPrint.AssignDocParameters

Assigns properties from DocParameters.

procedure AssignDocParameters(DocParameters: TRVDocParameters);

(introduced in version 10)

This procedure assigns the following properties:

Margins;

HeaderY, FooterY;

MirrorMargins;

FacingPages;

TitlePage.

Sizes are converted from DocParameters.Units to Units (the value of Units property itself is not changed). When converting from/to pixels, this method uses DPI specified in RichView.Style.UnitsPerInch, where RichView is a control assigned for printing by calling AssignSource method (or 96, if AssignSource was not called yet).

This method does not assign printer properties (page size and orientation).