Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Before Aspose.Cells 17.1, Aspose.Cells did not render the gradient fill of WordArt when the Excel file was converted to HTML format. Since the release of Aspose.Cells 17.1, WordArt gradient fill is supported. The following screenshot compares the gradient‑fill effect by converting the Excel file using Aspose.Cells 17.1 and an older version.

The following sample code converts the source Excel file into output HTML format. The source Excel file contains a WordArt object with gradient fill, as shown in the screenshot above.
#include <iostream>
#include "Aspose.Cells.h"
using namespace Aspose::Cells;
int main()
{
Aspose::Cells::Startup();
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-C
// Source directory path
U16String srcDir(u"..\\Data\\01_SourceDirectory\\");
// Output directory path
U16String outDir(u"..\\Data\\02_OutputDirectory\\");
// Path of input Excel file
U16String inputFilePath = srcDir + u"sourceGradientFill.xlsx";
// Create workbook
Workbook workbook(inputFilePath);
// Save workbook to HTML format
workbook.Save(outDir + u"out_sourceGradientFill.html");
std::cout << "Workbook saved successfully in HTML format!" << std::endl;
Aspose::Cells::Cleanup();
return 0;
}
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.