itextsharp pdf

Discussion in 'ASP.NET / ASP.NET Core' started by gianluigi, Jul 9, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    I have a problem om use 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 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(mioEvento)


    but my VS don't find the setPageEvent

    May you help me?
    Thanks
     
  2. How to Ref itextsharp.dll in the project

    i am also working on itextsharp.dll, but i am not able to register this dll in my project. can u help me in how u registred that in ur project?
     
  3. Registering itextsharp.dll

    Hi, i am using itextsharp.dll to write data into .pdf file.
    so i downloaded this dll (version 4.1.2) but i am not register this .dll in my project to use this namespace. any help?
     
  4. It appears that this assembly has to be fully installed on the server. Unfortunately because of security and standardization concerns we cannot install 3rd party components directly on the server.
     
  5. so how can i use itextsharp.dll in my project? is there any alternate?

    actuall this was i want..

    i am working on project which is related to schools. all the schools have some contracts with Mississippi state. our bussiness rule is they can Amend their contact info at any time.

    my task is i have a link with name "Printable version", once they click on link, they should be able save as file on their desktop(/or selected path) , in pdf format.

    i have to go with any tool or thru the qry get all the school info and write into pdf file?

    i know how to do in .txt file, but my client wants in pdf file.

    any help?
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page