You must Sign In to post a response.
  • Category: ASP.NET

    How to Convert .aspx page(html code) to Pdf in Asp.Net using C#

    hi Developers,

    i want to convert .Aspx page(html code) to Pdf.
    am google it and use some queries usin iTextsharp. i got answer but it does not exact.
    because there is misses Align,Border,Colour,top , bottom, size and etc.
    so i can't able to get exact one.

    i just want to Convert a single html page to pdf with my included and alignment design.

    in my case i am not using gridview. just using tables,textboxes and labels.

    so anyone of you know please suggest me how do i do this with Design,Alignment,Border of the page.

    thanking you
  • #768056
    You could try below example which demonstrated how to convert html page to pdf using C#:

  • #768058
    Hey there,

    Here i sent you some site for helping out to convert the file:

    Hope It Helps,

    Vaibhav shah

  • #768060
    Hai Paul Raj,
    There is a Free 3rd Party Library is available in Microsoft MSDN which can be used. If you need you can make some modification in the code and recreate the dll using the same.

    Hope it will be helpful to you.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • #768061
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • Sign In to post your comments