I think [link=http://www.rasteredge.com/how-to/vb-net-imaging/pdf-converting/][color=Black]PDF conversion programmes[/color][/link] can enable to quickly convert files. i have use PDF converter which can original layouts hyperlinks, Images and tables retained in word ,text, image, Epub, html.but i forgot download the wedsite ,go to google. By the way , pay attention to your system platform, select the suitable one . I use a PDF converter driver found on the internet . Install it and it becomes a selectable converter option.Then you can convert PDFs to many forms in any program at all, including Adobe Acrobat . Just open a PDF, select convert, and choice a form you want, then you can do [link=http://www.rasteredge.com/how-to/vb-net-imaging/pdf-convert-html/][color=Black]pdf to html conversion[/color][/link] and vice versa,the task will be finished in several seconds. if you haven't found a good choice , you can have a try. best wishes.
Yup indeed, I think converting HTML to PDF using some professional PDF converters will make the project much more convenient. Do you have any other good recommendations? Thanks in advance.
try this free .NET library which I used in my project, by which you could do a lot of manipulations like create, read, edit, convert, add watermark etc. sample code as your reference:
Sub Main()
Dim thread As Thread = New Thread(AddressOf LoadHtml)
thread.SetApartmentState(ApartmentState.STA)
thread.Start()
thread.Join()
End Sub
Private Sub LoadHtml()
Dim path As String = "sample.pdf"
Dim pdfDoc As PdfDocument = New PdfDocument()
Dim url As String = "http://www.london2012.com/news/articles/paralympic-torch-relay-route-revealed-1258473.html"
pdfDoc.LoadFromHTML(url, False, True, True)
pdfDoc.SaveToFile(path, FileFormat.PDF)
pdfDoc.Close()
pdfDoc.Dispose()
End Sub
Comments
Yup indeed, I think converting HTML to PDF using some professional PDF converters will make the project much more convenient. Do you have any other good recommendations? Thanks in advance.
Best regards,
Arron
Using GemBox.Document, all you need is:
DocumentModel.Load("Document.html").Save("Document.pdf")
Very simple
try this free .NET library which I used in my project, by which you could do a lot of manipulations like create, read, edit, convert, add watermark etc. sample code as your reference:
Sub Main()
Dim thread As Thread = New Thread(AddressOf LoadHtml)
thread.SetApartmentState(ApartmentState.STA)
thread.Start()
thread.Join()
End Sub
Private Sub LoadHtml()
Dim path As String = "sample.pdf"
Dim pdfDoc As PdfDocument = New PdfDocument()
Dim url As String = "http://www.london2012.com/news/articles/paralympic-torch-relay-route-revealed-1258473.html"
pdfDoc.LoadFromHTML(url, False, True, True)
pdfDoc.SaveToFile(path, FileFormat.PDF)
pdfDoc.Close()
pdfDoc.Dispose()
End Sub