How to add image background to pdf for every page?
I'm trying to set a background to a pdf and managed to set it with an image my pdf has a big table so the pages are added automatically not with the Document.NewPage() method so the image background is set only on the first page. This is the code that adds the background: Image backImg = Image.GetInstance(@"D:\websites\DIS\bugs\130208\A4.png"); backImg.SetAbsolutePosition(0, 0); backImg.Alignment = Image.UNDERLYING; var doc = new Document(pageSize); PdfWriter pdfWriter = PdfWriter.GetInstance(doc, new FileStream(filePath, FileMode.Create)); doc.Open(); doc.Add(backImg); ... creating a big