Aspose.Cells for .NET logo

We are pleased to announce the release of Aspose.Cells for .NET v17.6. This release includes a few new features and other enhancements along with some 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 fixed with this revision of Aspose.Cells for .NET. You can also install Aspose for .NET APIs directly from NuGet repository.

Tile Picture as a Texture inside the Shape using C#

Aspose.Cells supports image tiling feature which allows you to display images that are too large to be displayed entirely as a single unit on a typical computer. The feature allows you to display by segmenting it into smaller, more manageable image tiles.

//Load sample Excel file
Workbook wb = new Workbook("e:\\test2\\Book1.xlsx");

//Access first worksheet
Worksheet ws = wb.Worksheets[0];

//Access first shape inside the worksheet
Shape sh = ws.Shapes[0];

//Tile Picture as a Texture inside the Shape 
sh.Fill.TextureFill.IsTiling = true;

//Save the output Excel file
wb.Save("e:\\test2\\out1.xlsx");

Please see this article that explains how to Tile Picture as a Texture inside the Shape.

Using Formula Parameter in Smart Marker Field

Sometimes, you need to embed formula in Smart Markers. Aspose.Cells allows you to make use of Formula parameter in Smart marker field. For more detail, please see this article.

Using OnAjaxCallFinishedClientFunction of GridWeb

OnAjaxCallFinishedClientFunction is a client side function which is called when user copies some data into Aspose.Cells.GridWeb worksheet. This function is helpful when bulk of cells are updated and you want to keep track of those updated cells at client side (i.e., in web browsers like FireFox, Google Chrome etc.). See the following document/article for your reference.

Other Enhancements and Fixes

Aspose.Cells 17.6 has enhanced its core for more stability as well as fixed many critical bugs. Moreover, there are numerous minor enhancements in order to improve the overall usage of the API. A few of the worth mentioning enhancements are as follow.

  • Enquote all attribute values in HTML.
  • Support some new functions of Office 365.
  • Remove unnecessary older Web.config settings of Aspose.Cells.GridWeb like force script_path and forcepath.
  • Group Rows and Create Subtotal - Aspose.Cells.GridWeb.
  • Handled an exception, “Input string was not in a correct format” when loading an XLSX file format.

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 GridWeb.OnAjaxCallFinishedClientFunction property that lets you get or set the client side function name to be called when ajaxcall is finished.
  • Added enum StyleModifyFlag.RelativeIndent attribute that represents relative indent.
  • Added TextureFill.IsTiling property that indicates whether tile picture as texture.

Aspose.Cells for .NET Resources

The resources, you may need to accomplish your tasks: