Hi!
You should call something like "row = table.AddRow()" before setting the paragraph in the row.
You also need "table = document.AddSection.AddTable()".
Your code creates a table without any rows and without any columns in the section (therefore you see nothing). You also create a table with three columns but without any rows and a row without table (no reference to the decument).
Use the return value of table.AddColumn if you want to set more than a single property of the column.
The AddXxx methods return the newly created object. Assign this to a variable to set more than one property.
You don't need these New statements:
Code:
Dim style As MigraDoc.DocumentObjectModel.Styles = New MigraDoc.DocumentObjectModel.Styles
Dim table As MigraDoc.DocumentObjectModel.Tables.Table = New MigraDoc.DocumentObjectModel.Tables.Table
Dim Newcolumn As MigraDoc.DocumentObjectModel.Tables.Columns = New MigraDoc.DocumentObjectModel.Tables.Columns
Dim row As MigraDoc.DocumentObjectModel.Tables.Row = New MigraDoc.DocumentObjectModel.Tables.Row
The document has Styles, access them to change them (IIRC document.Styles). Tables, columns, and rows will be created by AddXxx methods.