We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Table position from left


I need to know how to Get and how to Set table postion from left

Aspose.Words.Tables.Table table

Hi Ajeesh,

Thank you for inquiry. you can Get / Set table position by using Left Indent property. For more details please follow up the documentation here.

In case of any ambiguity, please let me know.


Thanks for your reply.But my issue is i got table like

Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true);

and i created a clone table using above table like

Aspose.Words.Tables.Table tableClone = (Aspose.Words.Tables.Table)table.Clone(true);

Section section = new Section(doc);


section.PageSetup.SectionStart = SectionStart.NewPage;

Body body = new Body(doc);



My reqiurement is like both tables should in same left indent.Now my clone table moving little forward from left

Hi Ajeesh,

Thank you for inquiry. While using latest Aspose.Words 11.0.0, i am unable to reproduce this problem. I have attached tested example of Word document.

Hope this will help. In case of any ambiguity, please share sample Word document here.

Hi there,

Thanks for your inquiry.

There is probably no need for you to create a whole new section to insert the cloned table into. Instead you can insert the table directly after the original.

Please see the code here for details: