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
Hi,
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:
[Test]
public void TestTablesInColumns()
{
Document doc = new Document();
doc.FirstSection.PageSetup.TextColumns.SetCount(2);
DocumentBuilder builder = new DocumentBuilder(doc);
// Create table 1
builder.Writeln("Table 1");
CreateTable1(builder);
builder.InsertBreak(BreakType.ColumnBreak);
// Create table 2
builder.Writeln("Table 2");
CreateTable2(builder);
TestUtil.Save(doc, @"Other\TestTablesInColumns Out.doc");
}