This demo shows how to adjust the format of all pages in a document.

Thereby the original page is going to get scaled and centered, so that it fits into the new format.

For demonstration purpose the original document is created from scratch to show or test the behavior.