We're pleased to announce the release of Spire.Doc 14.10.9. This update supports setting the "Gap Width" option of the charts and the "Allow Overlap" option of Word tables. Most importantly, it introduces substantial breaking API changes. Developers should review the full API differences before upgrading and update their code where necessary.
Major API Changes
The following are only a few representative examples of the API changes in this release. There are many more changes beyond those listed here.
- ChildObjects has been moved from DocumentObject to CompositeDocumentObject.
- The return value of OwnerTextBody has been changed from Body to IBody, requiring an explicit cast.
- The Id of Permission has been changed from string to int.
For detailed API differences compared with version 14.9.11, click the link below:
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREDOC-12110 | Added support for setting the "Gap Width" option of the charts.
Document doc = new Document();
Paragraph p = doc.AddSection().AddParagraph();
Chart chart = p.AppendChart(ChartType.Column, 400, 300).Chart;
chart.Series.GapWidth = 100;
doc.SaveToFile("xxx.docx");
|
| New Feature | SPIREDOC-4261 | Added support for setting the "Allow Overlap" option of Word tables.
Document doc = new Document(); doc.LoadFromFile(inputFile); Section section = doc.Sections[0]; Spire.Doc.Table table = section.Tables[0] as Spire.Doc.Table; table.Format.AllowOverlap=true; doc.SaveToFile(outputFile_docx, FileFormat.Docx); doc.Close(); |
| Bug Fix | SPIREDOC-12115 | Fixed the issue where the header was lost when converting Word to PDF. |
Click the link to download Spire.Doc 14.10.9:
More information of Spire.Doc new release or hotfix: