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

Free Support Forum - aspose.com

Siziing of the table accprding to the slide and the text in the columns


I am using aspose.slides for java. can you tell me how i can adjust the size of the table(height-no of rows )according to the text in the columns already inserted so that it does not exceed the slide. ie overflow out of the slide.



Dear prashanth,

You can either reduce the font or can delete the last few rows and create them in new slide.

To check, table is overflowing the slide vertically,

(Table.getX() + Table.getHeight)> Presentation.getSlideSize().getY()

is true.