Hi,
Can you try resizing the page to the desired size?
For example, you would first resize the page’s content:
Then, you would resize the page size itself with the PdfPage.SetMediaBox
method:
I hope this helps, let me know if you need anything else.
Regards,
Mario