TRVDocParameters.ConvertToUnits

<< Click to display table of contents >>

TRVDocParameters.ConvertToUnits

Converts all sizes to AUnits.

procedure ConvertToUnits(AUnits: TRVUnits);

This method converts all size properties from Units to AUnits, then assigns Units = AUnits.

The following properties are converted:

PageWidth, PageHeight – page size;

LeftMargin, RightMargin, TopMargin, BottomMargin – margins;

HeaderY, FooterY – position of header and footer.