Enable CSS Custom Properties while saving to HTML
Possible Usage Scenarios
When you save your Excel file to HTML, for the scenario that there are multiple occurences for one base64 image, with custom property the image data only needs to be saved once so the performance of the resultant html can be improved.Please use HtmlSaveOptions.EnableCssCustomProperties property and set it true while saving to HTML.
Enable CSS Custom Properties while saving to HTML
The following sample code shows the usage of HtmlSaveOptions.EnableCssCustomProperties property. The screenshot shows the effect of this property when it is not set to true. Please download the sample Excel file used in this code and the output HTML generated by it for a reference.
Sample Code