Enable CSS Custom Properties while saving to HTML

Possible Usage Scenarios

When you save your Excel file to HTML, for scenarios where there are multiple occurrences of the same base64 image, the custom property allows the image data to be saved only once, so the performance of the resultant HTML can be improved. Please use HtmlSaveOptions.EnableCssCustomProperties property and set it true while saving to HTML. todo:image_alt_text

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