iTextSharp and VBnet question about headers
- by bpSz
Hello!
I'm wondering how can I put a header into my pdf file, cause i've tried the tutorials from here:
http://itextsharp.sourceforge.net/tutorial/ch04.html
And it have not worked.
Ive done this:
Dim head As New HeaderFooter(New Phrase("This is page: "), False)
head.Border = Rectangle.NO_BORDER
document.Header = head
But VS2008 says that HeaderFooter it's not defined (line 1), and Footer it's not a member of "iTextSharp.text.document" (line 3).
I've already included the imports at the begining of my code and i don't have any other problems with the iTextsharps (i mean that it is working apart of the header problem):
Imports iTextSharp.text
Imports iTextSharp.text.pdf
Imports System.Data.SQLite
Imports System.IO
So please, can anyone explain to me how can i set a header for my pages?
Regards