Preserve bookmarks in converted PDF from word starting to support in Spire.Doc 5.2.20

We are glad to announce the new hotfix version of Spire.Doc 5.2.20 today. With the effort of our develop team, we add a new method to preserve the bookmarks in PDF page when converted from word document. We also focus on fixing bugs in this version, especially for converting word documents to PDF file. Viewing the following full description of its improved functions:

New feature:

Add new feature to preserve bookmarks in converted PDF from Word.

Code snippet:

Document doc = new Document();
doc.LoadFromFile("test.docx", FileFormat.Docx);
ToPdfParameterList toPdf = new ToPdfParameterList();
toPdf.CreateWordBookmarks = true;
doc.SaveToFile("test.Pdf",toPdf);

Bug solutions:

  • Fix the issue that the position of the normal text is wrong when converting Word to PDF.
  • Fix the issue that the text of the merge-fields is chopped within the textbox when converting Word to PDF.
  • Fix the issue that the header line is incorrect when converting Word to PDF.
  • Fix the issue that any shape is missing when converting Word to PDF.
  • Fix the issue that text watermark is missing when convert Word to PDF.
  • Fix the error "Unrecognized command in geometry path." when loading Word.
  • Fix the error "The given key was not present in the dictionary." when loading Word.

Welcome to experience Spire.Doc 5.2.20 with downloading here:

http://www.e-iceblue.com/Download/download-word-for-net-now.html