we have a problem with Spire.Doc.
When we create letters in Word that contain tables and then open and save them with Spire, the table moves (as shown in picture 2).
The source code that is used should not have any influence on the table.
Thank you in advance for any tips or solutions.
Quellcode that is used:
- Code: Select all
Using doc As New Spire.Doc.Document
' Document laden
doc.LoadFromFile(docPath)
' Alle Kommentare loeschen
doc.Comments.Clear()
' Nachverfolgungen ausblenden
doc.TrackChanges = False
doc.AcceptChanges()
doc.SaveToFile(docPath, Spire.Doc.FileFormat.Doc)
End Using