I can set a style for a table in Word VSTO with:
Me.Application.ActiveDocument.Tables.Item(1).Style = "Table Grid 8"
How can I get the selected table style?
In VB.Net you need:
Dim style as Microsoft.Office.Interop.Word.Style
style = Globals.ThisAddIn.Application.ActiveDocument.Tables(1).Style
The only difference with C# is the square bracket
In C#, I can get the style this way
Globals.ThisDocument.Tables[1].get_Style();