<< Click to display table of contents >> TSRVPageProperty.ConvertPageFormatToPageSize |
Converts PageFormat to PaperWidth and PaperHeight, in portrait orientation.
procedure ConvertPageFormatToPageSize(PageFormat: TSRVPageFormat;
UnitsPaper: TRVUnits; var PaperWidth, PaperHeight: TRVLength);
PaperWidth and PaperHeight are measured in UnitsPaper ("pixels" assume 96 dpi).
If PageFormat=srvfmCustom, PageWidth and PageHeight are returned (always in landscape orientation)