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?
Also 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.