Export similar Border Style when Border Style is not supported by Web Browsers
Contents
[
Hide
]
Possible Usage Scenarios
Microsoft Excel supports some type of dashed borders which are not supported by Web Browsers. When you convert such an Excel file into HTML using Aspose.Cells, such borders are removed. However, Aspose.Cells can also support to display similar borders with HtmlSaveOptions.ExportSimilarBorderStyle property. Please set its value as true and the unsupported borders will also be exported to 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 following screenshot. The screenshot further illustrates the effect of HtmlSaveOptions.ExportSimilarBorderStyle property inside the output HTML.
Sample Code