I’ve seen several C# examples that are able to set table row heights:
- Table Height and cell Height - #5 by mudassir.fayyaz
- PPTX Table Row Height - #4 by Adnan.Ahmad
- Set Row Height - #2 by Adnan.Ahmad
The Java API does not have that ability. When you pass an array of row heights to the IShapeCollection.addTable
function, it sets the minimum heights of each row, not the actual heights.
If I pass an array where every row height is 15.75, ICell.getHeight
returns 28.8, ICell.getMinimalHeight
returns 15.75. Cells do not let you set the actual height. You can do ICell.setMinimalHeight
, but there is no function ICell.setHeight
.
How can I reliably set the height of a given cell?