Is there a way to change the page margins for the second page in a PDF using iTextSharp?
Now I have:
Document document = new Document(PageSize.A4, 144f, 72f, 144f, 90f); PdfWriter.GetInstance(document, ms); document.NewPage(); document.SetMargins(72f, 72f, 72f, 100f);
However, the fields on the second page are those that are set for the first page.
source share