Thank you for posting the links. I mentioned footer.
if found a solution in vb.net
Dim hd As New HeaderFooter(New Phrase("Hallo Welt"), False)
hd.Border = Rectangle.BOTTOM_BORDER Or Rectangle.TOP_BORDER
pdfDoc.Header = hd
Dim hf As New HeaderFooter(New Phrase("adress" & vbLf & " Seite: "), True)
hf.Border = Rectangle.TOP_BORDER
pdfDoc.Footer = hf
pdfDoc.Open()
pdfDoc.Add(hd)
pdfDoc.Add(hf)
Member
47 Points
116 Posts
iTextsharp break in footer-Text
Jul 11, 2010 03:12 PM|Luzie|LINK
Hi
i have an iTextsharp-Question, please put me in the right forum.
I would like to add two textes in the footer-Part.
First the adress and after a break then the Page-Number.
Dim hf As New HeaderFooter(New Phrase("Adresse <br/> Page: "), True)
hf.Border = Rectangle.NO_BORDER
This does not run.
Also adding two footers is not possible.
How can i solve this Problem?
Luzie (Frankfurt, Germany)
Member
244 Points
166 Posts
Re: iTextsharp break in footer-Text
Jul 12, 2010 02:15 AM|namratam|LINK
you did not mention that whether hf is header or footer.Try this links-
<div>http://www.codeproject.com/KB/graphics/iTextSharpTutorial.aspx</div> <div>http://www.pudn.com/downloads108/sourcecode/others/detail445552.htmlhttp://blog.rubypdf.com/itextsharp/tutorial01/</div>
Software Developer
Mumbai
Member
47 Points
116 Posts
Re: iTextsharp break in footer-Text
Jul 12, 2010 03:58 AM|Luzie|LINK
Thank you for posting the links. I mentioned footer.
if found a solution in vb.net
Luzie (Frankfurt, Germany)