Enable CSS Custom Properties while saving to HTML with Golang via C++
Contents
[
Hide
]
Possible Usage Scenarios
When you save your Excel file to HTML, in scenarios where the same base64 image occurs multiple times, the custom property allows the image data to be saved only once, improving the performance of the resulting HTML. Please use HtmlSaveOptions.GetEnableCssCustomProperties() and set it to true while saving to HTML.

Enable CSS Custom Properties while saving to HTML
The following sample code shows the usage of HtmlSaveOptions.GetEnableCssCustomProperties() 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 reference.