Archive

Archive for the ‘PDF’ Category

Convert Office Documents to PDF

December 18, 2010 Leave a comment

Need to convert an Office Document to PDF using the ABCpdf SDK by WebSuperGoo.

Dim theDoc As Doc = New Doc()
Dim xr As XReadOptions = New XReadOptions()
xr.ReadModule = ReadModuleType.XpsAny
theDoc.Read("C:\Office\MySpreadsheet.xls", xr)
theDoc.Save("C:\Office\MySpreadsheet.xls.pdf")
Categories: PDF Tags: ,