how to create table in word format using vb.net?
Hi,
I have recently replied to you in the following thread:
VB .NET code sample looks very similar to the C# one:
Dim doc As Document = New Document Dim builder As DocumentBuilder = New DocumentBuilder(doc) builder.StartTable() builder.CellFormat.Width = 100.0 builder.InsertCell() builder.Writeln(“Row 1, Cell 1”) builder.InsertCell() builder.Writeln(“Row 1, Cell 2”) builder.EndRow() builder.InsertCell() builder.Writeln(“Row 2, Cell 1”) builder.InsertCell() builder.Writeln(“Row 2, Cell 2”) builder.EndRow() builder.EndTable() doc.Save(“result.doc”) |