Prefix Table Elements Styles with HtmlSaveOptions.TableCssId property

Possible Usage Scenarios

Aspose.Cells allows you to prefix table element styles with the HtmlSaveOptions.table_css_id property. Suppose you set this property to a value such as MyTest_TableCssId; then you will find table element styles as shown below:

table#MyTest_TableCssId

#MyTest_TableCssId tr

#MyTest_TableCssId col

#MyTest_TableCssId br

etc.

The following screenshot shows the effect of using the HtmlSaveOptions.table_css_id property on the output HTML.

todo:image_alt_text

Prefix Table Elements Styles with HtmlSaveOptions.TableCssId property

The following sample code demonstrates how to make use of the HtmlSaveOptions.table_css_id property. Please check the output HTML generated by the code for reference.

Sample Code