This project has moved. For the latest updates, please go here.

different page sizes within the document

Oct 15, 2015 at 11:33 PM
I've noticed that all of my documents have both the first and last page sizes defined as A4, but any pages between end up as Letter. I cannot find any way to control the page size that is created by default; I use the addPageBreak to create new pages. All I can find is the page orientation. Am I missing something?

I am in the US,using US regional settings in Word, etc, if that's making a difference somewhere.

Thank you for any insight.
Oct 13, 2016 at 8:02 PM
Try this:
doc.PageHeight = 792;
doc.PageWidth = 612;