How to convert PPT to PDF and Html to pdf .any one help me.
with out using 3rd party controls .if any free dlls are there please suggest me..
How to convert PPT to PDF and Html to pdf
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Dorababu MekaRank #457 · 5.5K reputationPosted Apr 22, 2011, 4:15 AM EDT
Link1
Link2
Chestertonpdf Chesterton20 reputationPosted Apr 14, 2014, 7:21 PM EDT
Public Function CovertPPTXDocumenttoPDF(PowerPointFilePath As [String]) As PDFDocument Dim doc As New PPTXDocument(PowerPointFilePath) Dim imgSource As New List(Of REImage)() For i As Integer = 0 To doc.GetPageCount() - 1 Dim page As PPTXPage = DirectCast(doc.GetPage(i), PPTXPage) Dim temp As REImage = DirectCast(page.ToImage(), REImage) If temp IsNot Nothing Then imgSource.Add(temp) End If Next ' create PDFDocument with image source Return New PDFDocument(imgSource) End Function