The attached DOC document has a table inserted. After converted to PDF by using either of the following methods, table and everything under the table are gone.
(Method 1)
Public Sub ConvertStreamToPdf(inputDocStream As Stream, outputPDFFile As String)
Dim options As New LoadOptions()
options.LoadFormat = LoadFormat.Doc
Dim doc As New Document(inputDocStream, options)
doc.Save(outputPDFFile, SaveFormat.Pdf)
End Sub
(Method 2)
Public Sub ConvertFileToPDF(inputDocFile As String, outputPDFFile As String)
Dim doc As New Document(inputDocFile)
doc.Save(outputPDFFile, SaveFormat.Pdf)
End Sub
My Aspose.Words version is 9.6 and I know it’s a bit old but thought that this should be working since then. Converting doc or docx to PDF is the key feature for our next release. So please have a look with the attached document. Thanks!