Einhugur Word Plugin for Xojo |

# Document.AddNewTabletyle Method

Adds new table style to the document.

AddNewTabletyle(
id as String,
name as String,
basedOn as EinhugurWord.TableStyle) as EinhugurWord.TableStyle

#### Parameters

id
  Id of the new style. (This must be unique within the document)
name
  Name of the new style.
basedOn
  Base style which this style should inherit from or nil if there should be no base style.

#### Returns

EinhugurWord.TableStyle
  Newly crated TableStyle object instance.

#### Remarks

This function can throw WordException.

#### See Also

Document Class