4
有没有办法使用iTextSharp更改PDF中第二页的页边距?如何使用iTextsharp更改PDF中第二页的页边距?
我现在有:
Document document = new Document(PageSize.A4, 144f, 72f, 144f, 90f);
PdfWriter.GetInstance(document, ms);
/* first page content */
document.NewPage();
document.SetMargins(72f, 72f, 72f, 100f);
/* second page content */
然而,在第二页上的利润为第一页中设置的那些。