Fixed Sized Shape/PlaceHolder/Table size

For my project I have a powerpoint template and want to fill shapes and textboxes with data
so these shapes or textboxes will be inserted data via aspose.

Normally when u put more text, the shape/placeholder extends in size and you see all the text, is there any way to show what it can show in that size without increasing the size of placeholder/tables.

So if the text is "abcdefg" and if the table/placeholder size is lets say 5 chars. Then it should only show "abcde" and not "abcdefg" with increased size.

This screws up not only the view but print also.

Any help is appreciated!.

Hi,

Thanks for your interest in Aspose.Slides.

I have verified the availability of the said feature as per our discussion in the chat session. The TextFrame class has a method FitTextToShape() that will actually fit your text in the text frame. For more information about this method please visit this link. Please remember that the mentioned function only fits the text inside the shape. If the text is too large then it reduces the font size to fit text in shape. As a workaround you can please visit this link as well.

Thanks and Regards,