Aspose.Word.Table missing method

Hello.There is missing Aspose word table SetBorders method.I try to use table setBorders extension method but the methid is missing.help please.

Hi Ilkin,

Thanks for your inquiry. The Table.SetBorders exists in Aspose.Words APIs. Please use latest version of Aspose.Words for .NET 16.6.0. Following code example shows how to build a table with all borders enabled.

If you still face problem, please share some more detail about your query along with code, input, and output documents. We will then provide you more information about your query.

Document doc = new Document(MyDir + "in.doc");
Table table = (Table)doc.GetChild(NodeType.Table, 0, true);
// Clear any existing borders from the table.
table.ClearBorders();
// Set a green border around and inside the table.
table.SetBorders(LineStyle.Single, 1.5, Color.Green);
doc.Save(MyDir + "Table.SetAllBorders Out.doc");