HTML to PDF conversion Code in .net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vyasrohit1983
    New Member
    • May 2008
    • 4

    #1

    HTML to PDF conversion Code in .net

    Hello All I am looking for a utility that converts my HTML pages into PDF please give me some idea or post some code for the same

    Thanks
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    There are many PFD creation API's both freely available and for pay. Google search for ".net pdf" or something like that. Here's a free one from sourceforge.
    Download iText®, a JAVA PDF library for free. PDF Library for Developers. iText is an open-source PDF library available for Java and .NET (C#). iText allows you to effortlessly generate and manipulate standards-compliant PDF documents with a powerful and feature-rich SDK.

    Comment

    • vyasrohit1983
      New Member
      • May 2008
      • 4

      #3
      Originally posted by insertAlias
      There are many PFD creation API's both freely available and for pay. Google search for ".net pdf" or something like that. Here's a free one from sourceforge.
      http://itextsharp.sourceforge.net/

      Thanks for reply but i dont want to use any library to convert , is there any way to convert HTML pages through Code without taking reference of any dll or class , if yes then plz suggest me

      Thanks

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by vyasrohit1983
        Thanks for reply but i dont want to use any library to convert , is there any way to convert HTML pages through Code without taking reference of any dll or class , if yes then plz suggest me

        Thanks
        You can use the FileStream class to create and write to the PDF but you are better off using a third party package for this.

        Comment

        Working...