Spire.XLS 12.5.1 supports centering text via PrstGeomShape class

2022-05-16 03:31:19

We are excited to announce the release of Spire.XLS 12.5.1. This release supports centering text via IPrstGeomShape class. It also enhances the conversion from Excel to PDF, HTML as well as CSV, and optimizes the time and memory used for formatting cell numbers. Moreover, it fixes some known issues such as the issue that the data was not correct when transferring Excel data to a data table. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREXLS-3806 IPrstGeomShape Implements the style of centered text.
IPrstGeomShape shape = book.Worksheets[0].PrstGeomShapes[0];
shape.TextVerticalAlignment = ExcelVerticalAlignment.MiddleCentered;
Bug SPIREXLS-3758 Optimizes the time and amount of memory used to format cell numbers.
Bug SPIREXLS-3320 Fixed an issue that the chart content was incorrect when converting Excel to PDF.
Bug SPIREXLS-3762 Fixed an issue that the grid lines' style changed from solid to dotted when converting Excel to PDF.
Bug SPIREXLS-3784 Fixed an issue that the application threw System.ArgumentException when converting Excel to HTML.
Bug SPIREXLS-3785 Fixed an issue that the formatting of content was incorrect when converting Excel to PDF.
Bug SPIREXLS-3793 Fixed an issue that the double quotes were added to text when converting Excel to CSV.
Bug SPIREXLS-3794 Fixed an issue that the data was not correct when transferring Excel data to a data table.
Bug SPIREXLS-3802 Fixed an issue that the data was incorrect when adding data using sheet.insertarrayList method.
Bug SPIREXLS-3808 Fixed an issue that the application threw InvalidOperationException when loading an xlsx file.
Bug SPIREXLS-3822 Fixed an issue that the application threw an error "object reference not set to an instance of object" when loading an xlsx file.
Bug SPIREXLS-3823 Fixed an issue that the application threw an error "different formulas in the copied rows" when calling workbook.ActiveSheet.ReparseFormula().
Bug SPIREXLS-3834 Fixed an issue that the value obtained was incorrect.
Click the link to download Spire.XLS 12.5.1:
More information of Spire.XLS new release or hotfix: