Setting "Total Row" for TableStyle

In Word table styles, you can define a different formatting for the “Total Row”.
This formatting is only enabled if you set the checkbox “Total Row” in the “Table style options” group:
table-style-options.png (1.8 KB)

How can this “checkbox” be set by using Aspose.Words?

Attached is a sample which loads a template, creates a table and applies a table style from the template.
TableStyleTotalRow.zip (19.9 KB)

Best regards
Wolfgang

@wknauf You can use

table.StyleName = "MyTableStyle";
table.StyleOptions |= TableStyleOptions.LastRow; 

Thanks, this works! I should have found this myself…

Best regards

Wolfgang

@wknauf Please feel free to ask in case of any issues, we will be glad to help you.