Disable Downlevel Revealed Comments while saving to HTML

Possible Usage Scenarios

When you save your Excel file to HTML, then Aspose.Cells reveals Downlevel Conditional Comments. These conditional comments are mostly relevant to older versions of Internet Explorer and are irrelevant to modern Web Browsers. You can read about them in detail at the following link.

Aspose.Cells allows you to eliminate these Downlevel Revealed Comments by setting the HtmlSaveOptions.DisableDownlevelRevealedComments property to true.

Disable Downlevel Revealed Comments while saving to HTML

The following sample code shows the usage of HtmlSaveOptions.DisableDownlevelRevealedComments 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.

todo:image_alt_text

Sample Code