Hi,
 
I have a problem using the itextsharp DLL.
I need insert an Header and a footer with table and image. This is possible and on the instruction manual I see I need to implement an event on the page (onPageStart e onPageEnd) I find some exemple in C# but when I translate this C# in VB the Visual studio intellisense don't find the method to insert the event in the page.
 
I find this exemple:
PdfWriter writer PdfWriter.getInstance(document, new FileOutputStream("c:\\head_foot.pdf")); writer.setPageEvent(new head_foot());
 
I translate:
Dim pdfWriter As iTextSharp.text.pdf.PdfWriter
Dim File As FileStream = New FileStream(Server.MapPath("/_Stampe/Test.pdf"), FileMode.Create
pdfWriter.getInstance(Pdf, File)
 
Now i need find this method:
pdfWriter.setPageEvent(myEvent)
but my VisualStudio don't find the setPageEvent
 
May you help me?
Thanks


Personalizza MSN Messenger con sfondi e foto. E' divertente! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to