Free Support Forum - aspose.com

Border for table and row

hello - is there a facility to set a line border around the table or a single row. Please note that I don't want to set the border per cell.

Thanks

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Currently, there is no way to specify border around table. You can only specify borders around table cell or table row:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.tables.cellformat.borders.html

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.tables.rowformat.borders.html

If you need to set border around a table, you can set borders of each cell in the first row, last row, first column and last column. You can find code example here:

Best regards.

The issues you have found earlier (filed as WORDSNET-581) have been fixed in this .NET update and in this Java update.