How to get and set Default Table Style using VB.NET

I need to set Default Table Style of document to table created by DocumentBuilder.

Dim builder As DocumentBuilder = New DocumentBuilder(doc)
builder.MoveToBookmark(“BookmarkName”)

builder.InsertCell()
builder.Write(“ColumnName”)
builder.EndRow()

builder.InsertCell()
builder.Write(“Value”)
builder.EndRow()

Dim table As Tables.Table = builder.EndTable()
table.StyleName = “Default Table Style Name of Document” ?

How can i get this value? If this doen’t exists, there are a workaround do set default table style of document to all tables in a document?

table_default_style.JPG (22.3 KB)

@filedoc

You can use Table.StyleName to get or set the name of the table style applied to this table. If you face any issue, please ZIP and attach your input, problematic and expected output documents here for testing. We will investigate the issue and provide you more information on it.