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

Free Support Forum - aspose.com

How do I get a slash object for a cell in a table

How do I get a slash object for a cell in a table? I have a table with a slash in the first cell,I want to get it and save in my database.
The file is a sample for this problem.Hope your good news.
cellWithSlash.zip (36.0 KB)

The text boxes with the texts “age” and “sex” are not part of the table. That’s why you cannot do it.

I know that,but I want to get the format of the slash which on the first cell.Can you hepl me? Thanks

I’m sorry for the misunderstanding. You can get the slash format from a table cell as below:

ICell cell = table.get_Item(0, 0);
ILineFormat diagonalFormat = cell.getCellFormat().getBorderDiagonalDown();

API Reference: ICellFormat interface
More details: Manage Cells