Spire.Doc 10.4.6 starts with a new engine-style layout for conversion features by default

2022-04-28 07:17:18

We are pleased to announce the release of Spire.Doc 10.4.6. This version starts with a new engine-style layout for conversion features by default. In the new Document, if the parameter false is not set, the new engine layout is used by default; And if you want to use the old engine layout, you need to use the Document constructor with the "useNewEngine" parameter and set the parameter "useNewEngine" to false. In addition, the Document.UseNewEngine is no longer able to set a value, only take one. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature - For example, when the following code is in the new Document, if the parameter false is not set, the new engine layout is used by default.
Document doc = new Document();
doc.LoadFromFile(@"input.docx");
doc.SaveToFile(".pdf", Spire.Doc.FileFormat.PDF); 
New feature - If you want to use the old engine layout, please refer to the code below to use the Document constructor with the "useNewEngine" parameter and set the parameter "useNewEngine" to false.
Document doc = new Document(false);
doc.LoadFromFile(@"input.docx");
doc.SaveToFile("output.pdf", Spire.Doc.FileFormat.PDF); 
Click the link to download Spire.Doc 10.4.6:
More information of Spire.Doc new release or hotfix: