Free Support Forum - aspose.com

Cell heights being ignored

I add a table to an empty slide using the following Java code

Table addtable = slide.getshapes().addtable( 0, 0, 4000, 500, 2, 2, 1, color.black )

The height of the table is being set to 656 instead of 500, and the only way to change the height of the table is to make it 656 or above.

Is 656 the lowest a table height can be?

Or is the lowest a cell height can be 328?

I also have a problem with individual cell heights :

1. when I add text to the text frame within each cell, the cell height increases instead of uitilising all the height assigned to the cell before increasing.

2. I cannot get cells to be any lower than 328 if I increase my number of rows the height of the table increases by this much. Also when I click the cursor in the drawn table it expects some text with a font size of 28.

Please see my answer here.

http://www.aspose.com/community/forums/thread/136262/table-and-cell-heights.aspx