I have a document I'm creating that has multiple pages. Is it possible to have different page margins on different pages? When I set it on one page it changes the margin on all pages. I'll try to include a striped down sample below.
Code:
Document document = new Document();
Section section = document.AddSection();
Paragraph paragraph = section.AddParagraph("test" );
// page 2
section.AddPageBreak();
section.PageSetup.LeftMargin = 40;
paragraph = section.AddParagraph("page 2 ");
Do I have to set the margins after every page break? If so what are the default settings?
Thanks for any insight.