Prefix Table Elements Styles with HtmlSaveOptions.TableCssId property
Contents
[
Hide
]
Possible Usage Scenarios
Aspose.Cells allows you to prefix table elements styles with HtmlSaveOptions.TableCssId property. Suppose, you set this property with some value like MyTest_TableCssId, then you will find table elements styles like shown below
table#MyTest_TableCssId
#MyTest_TableCssId tr
#MyTest_TableCssId col
#MyTest_TableCssId br
etc.
The following screenshot shows the effect of using HtmlSaveOptions.TableCssId property on output HTML.
Prefix Table Elements Styles with HtmlSaveOptions.TableCssId property
The following sample code explains how to make use of HtmlSaveOptions.TableCssId property. Please check the output HTML generated by the code for a reference.
Sample Code