Java Aspose.Slides: Can't Set Actual Table Row Heights


#1

I’ve seen several C# examples that are able to set table row heights:

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?

Screen Shot 2018-12-06 at 7.49.06 PM copy.png (267.0 KB)


#2

@noahbetzen,

I have observed your requirements and like to share that the minimum possible row height that you can set is 28. I suggest you to please visit following thread link for your convenience as well.