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

Free Support Forum - aspose.com

Problem of Tables 2 images

I cought something interesting while using Aspose.Word to convert tables to images.
images processed by the solution following:

but the line in the left side of the tables dissappeared.

Anybody knows how to resolve this problem?

Hi Stephen,

Thanks for your inquiry. You can achieve table’s border setting like this:

Document doc = new Document(MyDir + "Table.EmptyTable.doc");
Table table = (Table) doc.GetChild(NodeType.Table, 0, true);
// Clear any existing borders from the table.


// Set a green border around and inside the table.

table.SetBorders(LineStyle.Single, 1.5, Color.Green);

doc.Save(MyDir + "Table.SetAllBorders Out.doc");

Follow up the link for further details:


Thanks for your inquiry. I managed to reproduce this issue on my side. In case your input document is in OOXML format, the only work around I can see here is to manually set the Indent From Left to greater than 0.0" as can be seen here:


I hope, this will help.

Best Regards,