Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- how to rotate pdf using itextsharp library
- Document doc = new Document(PageSize.A4.Rotate());
- Document pdf = new Document(PageSize.A4);
- PdfWriter.GetInstance(pdf, new FileStream("file.pdf", System.IO.FileMode.Create));
- pdf.Open();
- pdf.Add(new Paragraph("This is a pdf document!"));
- pdf.Close();
Advertisement
Add Comment
Please, Sign In to add comment