I’m converting a PDF to a DOCX with Aspose.PDF - current build 19.11 and I am having a few issues with the resulting .DOCX
Brief_TEST BRIEF_431.pdf (71.4 KB)
When I open the resulting DOCX I see:
- Word opens in “Compatibility Mode”.
- If Word happens to open in Web Layout, it looks like the content is all over the place.
See: Brief_TEST BRIEF_431.zip (33.4 KB)
The conversion code is very straightforward:
Dim sResult As String = String.Empty Dim oPDF As Aspose.Pdf.Document = Nothing Try GetPDFLicence() oPDF = New Aspose.Pdf.Document(filename:=sPDFFile) oPDF.Save(sDOCXFile, Aspose.Pdf.SaveFormat.DocX) Catch ex As Exception Exit Sub Finally If Not oPDF Is Nothing Then Try oPDF.Dispose() Catch End Try oPDF = Nothing End If End Try
Is there any way I can improve on this output?