We are pleased to announce the release of Aspose.Cells for .NET v17.8. This release includes a few valuable features and other enhancements along with critical bug fixes that further improve the overall stability of the APIs. Please check the release notes in order to get an idea about what is new and what has been enhanced or fixed with this revision of Aspose.Cells for .NET. You can also install Aspose for .NET APIs directly from NuGet repository.
Add Digital Signature to Excel File in C#
Aspose.Cells provides the Workbook.AddDigitalSignature(DigitalSignatureCollection digitalSignatureCollection) method that lets you to add digital signature to an already signed Excel file.
Please see the document/article (with attachments) that explains on how to add Digital Signature to an already signed Excel file for your complete reference.
Disable Downlevel Revealed Comments while saving to HTML
When you save your Excel file to HTML, then Aspose.Cells reveals Downlevel conditional comments. These conditional comments are mostly relevant to older versions of Internet Explorer and are irrelevant to modern web browsers. Aspose.Cells allows you to eliminate these Downlevel Revealed Comments by setting the
HtmlSaveOptions.DisableDownlevelRevealedComments property to true. For more detail, please see this article.
Export Comments while Saving Excel file to Html
When you save your Excel file into HTML, comments are not exported by default. However, Aspose.Cells allows you to export comments in the output HTML using the
HtmlSaveOptions.IsExportComments property. If you set it true, then HTML will also display comments present in your Excel file. the following document/article for your reference.
Output Blank Page when there is Nothing to Print
If a sheet is empty, then Aspose.Cells will not print anything when you export worksheet to image format. You can change this behavior by using the
ImageOrPrintOptions.OutputBlankPageWhenNothingToPrint property. When you will set it to true, it will print the blank page. For more detail, please see this article.
Using CustomImplementationFactory to create custom implementation of Memory Stream
Aspose.Cells provides an API named
CellsHelper.CustomImplementationFactory which enables you to provide custom implementation, such as using Recyclable memory implementation instead of the default MemoryStream. This feature is useful when the memory is not contiguous in your environment. For more detail, please see this article.
Create, Remove and Get GridCell Comments – Aspose.Cells.GridWeb
The web based grid control provided by Aspose.Cells for .NET allows you to create, remove and get cell comments inside the worksheet. For more detail, please see this article.
Other Enhancements and Fixes
There are some important enhancements included in the new release for the users. A few of the worth mentioning features/enhancements are as follow.
- Default Font and Font Color of the GridDesktop.
- Handled “Shape to image Error” when rendering a XLSX file to PDF file format .
- Handled NullReferenceException when opening an Excel file.
- Handled an exception on opening the template XLSB file (Office 365 (1707 update)).
Aspose.Cells 17.8 has enhanced its core for more stability as well as fixed many critical bugs. In this release, we have fixed several other issues. For example, issues around reading/writing MS Excel file formats(XLS, XLSX, XLSB, ODS, SpreadsheetML etc.), grouping rows and columns, applying data validation, rendering shapes and drawing objects, manipulating ListObjects/Tables, reading and rendering HTML, rendering and manipulating charts, manipulating PivotTables, rendering images from Excel worksheets, rendering images files from charts and exporting Excel workbooks to PDF format have been resolved.
Changes to the Public API
This version of Aspose.Cells for .NET has made some changes to the Public API. A few of the worth mentioning changes are as follow:
- Added HtmlSaveOptions.IsExportComments property, it indicates if exporting comments when saving file to HTML, the default value is false.
- Added HtmlSaveOptions.DisableDownlevelRevealedComments property, it indicates if disabling Downlevel-revealed conditional comments when exporting file to HTML, the default value is false.
- Added CustomImplementationFactory class, it provides an API for the user to extend/improve the component’s ability by some special implementations for some special situations. For example, when there is enough memory on the system but probably not enough contiguous memory for processing large file, user may use RecyclableMemoryStream instead of MemoryStream to avoid the System.OutOfMemoryException.
- Added CellsHelper.CustomImplementationFactory property, it gets/sets the CustomImplementationFactory instance used by Aspose.Cells component.
- Added Workbook.AddDigitalSignature(DigitalSignatureCollection digitalSignatureCollection) method, it adds digital signature to an already signed OOXML spreadsheet file (Excel2007 and later).
- Added ImageOrPrintOptions.OutputBlankPageWhenNothingToPrint property, it indicates whether to output a blank page when there is nothing to print.
Aspose.Cells for .NET Resources
The resources, you may need to accomplish your tasks:
- Home of Aspose.Cells for .NET API.
- Aspose.Cells for .NET Download Section.
- Aspose.Cells for .NET Documentation – up-to-date documentation containing Programmer’s Guide, Knowledge Base and much more.
- Aspose.Cells for .NET API Reference Guide – detailing the publicly exposed classes, methods, properties, constants & interfaces.
- Aspose.Cells Product Family Forum – post your technical questions and queries, or any other problem you are facing while working with Aspose.Cells APIs.
- Aspose.Cells for .NET Examples – we have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.