Support the layout of DIV tags while loading HTML to excel workbook
Contents
[
Hide
]
Normally, the layout of div tags is ignored while loading HTML into an excel workbook object. However, if you want the layout of div tags are not ignored, then please set the HtmlLoadOptions.SupportDivTag property to true. The default value of this property is false.
Support the layout of DIV tags while loading HTML to excel workbook
The following sample code illustrates the usage of HtmlLoadOptions.SupportDivTag property. Please download the Aspose Logo used inside the input HTML and the output excel file generated by the code.