This project has moved and is read-only. For the latest updates, please go here.

different page sizes within the document

Oct 16, 2015 at 12:33 AM
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 9:02 PM
Try this:
doc.PageHeight = 792;
doc.PageWidth = 612;