News Category

Spire.Doc 9.11.5 supports converting Word to PDF with a new engine

2021-11-11 09:51:52

We are pleased to announce the release of Spire.Doc 9.11.5. This version adds two new method, one is "SetColumnWidth" to set table column width, and the other one is "UseNewEngine" to use new engine to convert Word to PDF. Besides, it adjusts the method of setting table cell width. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature - Adds a new method "SetColumnWidth" to set table column width.
table.SetColumnWidth(int columnIndex, float columnWidth, CellWidthType columnWidthType); 
New feature - Adds a new method "UseNewEngine" to use new engine to convert Word to PDF.
Document doc = new Document();
doc.LoadFromFile("input.docx");
doc.UseNewEngine = true;
doc.SaveToFile("result.pdf", FileFormat.PDF); 
Adjustment - Adjusts the method of setting table cell width.
//Old method
//tableCell.Width //Deprecated
//tableCell.CellWidthType //Deprecated

//New method
tableCell.SetCellWidth(float width, CellWidthType widthType); 
Click the link to download Spire.Doc 9.11.5:
More information of Spire.Doc new release or hotfix: