Click here to Skip to main content
15,888,236 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How do you add a background color over the whole pdf document, doc?
VB
Dim doc As New Document(iTextSharp.text.PageSize.LETTER, 10, 10, 42, 35)
Dim output = New MemoryStream()
Dim writer = PdfWriter.GetInstance(doc, output)
doc.Open()
... pdf code...
doc.Close()


What I have tried:

Tried just the tables but need more coverage.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900