Disable CSS while saving to HTML with Golang via C++

Possible Usage Scenarios

When you save your Excel file to a single‑page HTML, usually the CSS elements will be embedded within the HTML file and will be located in the HEAD section. If you attach this file as the content/body of an email, the CSS elements will be stripped out by most email clients, resulting in improper rendering. The 24.12 version of Aspose.Cells introduces an option that allows you to optionally disable CSS, letting styles be applied directly within the HTML elements themselves. If you want to set the HTML as the content/body of the email, please use the HtmlSaveOptions.GetDisableCss() property and set it to true.

Disable CSS while saving to HTML

The following sample code shows how to use the HtmlSaveOptions.GetDisableCss() property.

Sample Code