Free Support Forum -

How to place two tables on a page on the one horizontal level?

A have to place two small tabels on a page. Tables must be located on the same horizontal level (line). How to do it?

For now Table2 always locates under Table1. I think I have to insert some spesial symbol(s) between Table1 and Table2.

Please help. Thanks!

P.S. I try to do it with using VB.Net


Thank you for considering Aspose.

You can use a table without borders to lay the tables out as appropriate (place them into that table cells). Another approach is using text columns:

public void TestTablesInColumns()
Document doc = new Document();

DocumentBuilder builder = new DocumentBuilder(doc);
// Create table 1
builder.Writeln("Table 1");
// Create table 2
builder.Writeln("Table 2");

TestUtil.Save(doc, @"Other\TestTablesInColumns Out.doc");