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

Hi,

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.

Thanks,

prashanth

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.