Set page size and orientation of PDF documents

When creating PDF pages programmatically with DsPdf, you can specify the page size and orientation (portrait/landscape) for each page.