locked
HTML to PDF Converter RRS feed

  • Question

  • User-1368241743 posted

    Hi members,

    In our Web application we need to add three functionalities  
    1)HTM to PDF
    2)PDF to  Image
    3) Re-size image

    I think we need to use third party controls.is there is any third party control is available with these three functionalities?
     
    regards,
    sajesh 

    Monday, November 9, 2009 4:55 AM

Answers

  • User-331346503 posted

    i m using abcpdf.net 6.0. its easy to use..

    try this 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 9, 2009 6:26 AM

All replies

  • User-152507730 posted

    one of my web app's i have situation to convert HTML to PDF files.  I have used http://www.abcpdf.com/ its 3rd party server-side component.  It is not free.

    But i never worked PDF to Image

    I am sure fellow members will suggest other alternatives.

     

    Monday, November 9, 2009 6:05 AM
  • User1315229986 posted

    Hi,

    you can go for iTextSharp dll its free and very easy to impliment

    http://sourceforge.net/projects/itextsharp/

    http://sourceforge.net/projects/itextsharp/files/


    Monday, November 9, 2009 6:23 AM
  • User-331346503 posted

    i m using abcpdf.net 6.0. its easy to use..

    try this 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 9, 2009 6:26 AM
  • User-1368241743 posted

    Hi devenswant,

     

     I think iTextSharp is for converting HTML to PDF.is there is PDF to image and image resize functionalities for this dll? 

    sajesh

    Monday, November 9, 2009 7:37 AM
  • User-1368241743 posted

    hi nimish,

    abcpdf.net have functionalities for PDF to image and image resize?

    Monday, November 9, 2009 7:38 AM
  • User-1368241743 posted

    Finally i am decidede to use abcpdf.net 6.0. its easy to use.. 

    Tuesday, November 24, 2009 2:30 AM
  • User-1312231374 posted

    Hi sajesh28,

    I saw your comment about abcpdf.net 6.0.  Can you tell me how it worked?  I have a enterprise version of PDF995, but I haven't figured out how to use it in my ASP.Net 3.5 project.  (So far, I use it in a VB6 project.

    Thanks,

    Carthalion

    thor@mortgagesoftware.com

    Wednesday, June 22, 2011 7:41 PM
  • User-457597647 posted

    Hi Carthalion

    Converting web pages to a PDF document is quite simple with ABCpdf's AddImageUrl function...

    Dim theDoc As Doc = New Doc()
    theDoc.AddImageUrl("http://www.google.com/")
    theDoc.Save("htmlimport.pdf")
    theDoc.Clear()

    If the content doesn't fit within a page you'll need to chain the pages with AddImageToChain...

    Here's a longer example written in VB.NET for convenience:

    Dim theDoc As Doc = New Doc()
    theDoc.Rect.Inset(72, 144)
    
    Dim theID As Integer
    theID = theDoc.AddImageUrl("http://www.yahoo.com/")
    
    While True
      theDoc.FrameRect()
      If Not theDoc.Chainable(theID) Then
        Exit While
      End If
      theDoc.Page = theDoc.AddPage()
      theID = theDoc.AddImageToChain(theID)
    End While
    
    For i As Integer = 1 To theDoc.PageCount
      theDoc.PageNumber = i
      theDoc.Flatten()
    Next
    
    theDoc.Save(Server.MapPath("pagedhtml.pdf"))
    theDoc.Clear()

    In order to render PDF documents to image formats you'd need the Professional edition (not free), or the time-limited trial version.  There's a PDF rendering example in the documentation you may find useful...

    Thursday, June 23, 2011 10:42 PM
  • User1964793297 posted

    In my application I use Web2PDF API http://www.web2pdfconvert.com/pdf-api I am satisfied with quality of Web2pdf services and I can recommend it to you.

    Friday, August 19, 2011 9:53 AM
  • User58496022 posted

    Best way I see is to adopt XSL-FO technology. PDF,Image,SVG all formats are permitted with this XML based technology.

    Sunday, August 21, 2011 4:39 PM
  • User567269486 posted

    We normally use this ITextSharp for this.

    ref : http://hugoware.net/blog/itextsharp-utility

    Monday, August 22, 2011 10:21 AM