Export Similar Border Style When Border Style Is Not Supported by Web Browsers

Possible Usage Scenarios

Microsoft Excel supports some types of dashed borders that are not supported by web browsers. When you convert such an Excel file into HTML using Aspose.Cells, those borders are removed. However, Aspose.Cells can also display such borders with the HtmlSaveOptions.ExportSimilarBorderStyle property. Please set its value to true, and the previously unsupported borders will be exported to the HTML file.

Export Similar Border Style When Border Style Is Not Supported by Web Browsers

The following sample code loads the sample Excel file that contains some unsupported borders, as shown in the screenshot below. The screenshot further illustrates the effect of HtmlSaveOptions.ExportSimilarBorderStyle in the output HTML.

todo:image_alt_text

Sample Code