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

Free Support Forum - aspose.com

Page breaks for slides

hi, is there anyway to add page breaks in slides so…if contents expand they will move on to next new slide ??

Hi,

No, you will have to move them.

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

In case, you are working with text and it is getting out of the slide bottom, then you can use TextFrame.FitTextToShape() method. It will decrease the font size little to avoid it getting out of slide.

The other way to handle it to check this condition

if( pres.SlideSize.Height < (tf.Y + tf.Height) )

//then it means it getting out of the slide.

In such a case, you will have to add a new slide if needed and new textframe on the slide and shift some of the text from the previous textframe into new one.