rvico TRichView Reference | TRichView | TRVDocParameters

TRVDocParameters.ConvertToUnits

Top  Previous  Next

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.


TRichView © trichview.com