Render Gradient Fill for the WordArt while Converting Spreadsheets to HTML

Possible Usage Scenarios

Before Aspose.Cells 17.1, Aspose.Cells did not render gradient fill of the word art when the Excel file was converted to HTML format. Since the release of Aspose.Cells 17.1, word art gradient fill is supported. The following screenshot compares the effect on the gradient fill by converting the excel file using Aspose.Cells 17.1 and the older version.

todo:image_alt_text

Render Gradient Fill for the WordArt while converting spreadsheets to HTML

The following sample code converts the source excel file into output HTML format. The source excel file contains a word art object with gradient fill as shown in the above screenshot.

Sample Code

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
// Read the source excel file having text with gradient fill
Workbook book = new Workbook(dataDir + "sourceGradientFill.xlsx");
// Save workbook to html format
book.Save(dataDir + "out_sourceGradientFill.html");