Pages are scaled to fit the new size with their proportions kept, then centred - the same as "fit to page" when printing. Nothing is stretched or cropped, so changing between sizes with different proportions (Letter to A4, for example) leaves slightly different margins rather than distorting the content.