Table in original Doc was missing after converted to PDF

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!

Hi Erica,


Thanks for your inquiry. I tested your scenario with the latest version of Aspose.Words i.e. 11.9.0 and was unable to reproduce any issue on my side. I have attached the Pdf document, i.e. generated on my side, here for your reference. I would suggest you please upgrade to Aspose.Words v11.9.0.

Moreover, please read the following article on ‘How to Migrate to Aspose.Words 10.5 or Higher’:
http://www.aspose.com/docs/display/wordsnet/How+to++Migrate+to+Aspose.Words+10.5+or+Higher

Best regards,