Is there a way to add table of cell with different width

Is it possible to add a table looks like in attached image using Aspose Words.net?

Thanks,
Divya

Hi Divya,

Please try using the following code:

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
Table tab = builder.StartTable();
builder.InsertCell();
CellFormat cellFormat = builder.CellFormat;
cellFormat.Width = 72;
builder.Writeln("First");
builder.InsertCell();
cellFormat.Width = 144;
builder.Writeln("second");
builder.EndRow();
builder.InsertCell();
cellFormat = builder.CellFormat;
cellFormat.Width = 144;
builder.Writeln("third");
builder.InsertCell();
cellFormat.Width = 72;
builder.Writeln("Fourth");
builder.EndRow(); 
builder.EndTable();
tab.AllowAutoFit = true;
tab.AutoFit(AutoFitBehavior.FixedColumnWidths);
doc.Save(MyDir + @"16.8.0.docx");

Hope, this helps.

Best regards,

This code works for me.Thanks a ton!!!