itextsharp: how do i add a new page and write to it?
问题 in vb.net i filled up the first page of a pdf document, how do i start from the second page? 回答1: Document document = new Document(PageSize.A4, 0, 0, 50, 50); System.IO.MemoryStream msReport = new System.IO.MemoryStream(); try { // creation of the different writers PdfWriter writer = PdfWriter.GetInstance(document, msReport); // we add some meta information to the document document.AddTitle("My Title"); document.AddAuthor("Me"); document.Open(); for (int i = 1; i <= 5; i++) { document.NewPage