iTextSharp: table in landscape
问题 I'm using iTextSharp to generate a large document. In this document I want some specific pages in landscape. All the rest is portrait. Does anyone know how I can do this? Starting a new document is not an option. Thanks! 回答1: You can set the document size and it will affect the next pages. Some snippets: Set up your document somewhere (you know that already): var document = new Document(); PdfWriter pdfWriter = PdfWriter.GetInstance( document, new FileStream(destinationFile, FileMode.Create)