ScalePages
function scales the page dimensions and its content by the x and y factors given.
The ScaleToFitPaper
function scales the page dimensions and its content
to fit the given page dimensions or paper size. If the aspect ratios of the two
page sizes are unequal, the page is scaled to the largest size which will fit
within the new page dimensions, and centered therein.