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

Free Support Forum - aspose.com

Get Rich Text from Slide

Hello,
My company wants to be able to extract formatted text from items in a slide. I am still writing the code before we purchase, so please forgive my ignorance about something.
I noticed that TextFrame and TextFrameEx have methods for getting their text, but not in a formatted way. In other words, I can’t get the text with bold/italic/underline/etc. markings. How does one do that on the text frames and other objects that can contain text?

Hi Austin,

Thanks for your interest in Aspose.Slides.

I have observed the requirements shared by you and like to share that TextFrame or TextFrameEx has ParagraphColletion. Each paragraph in collection has collection of Portions inside it. There are different text properties that are availble on paragraph and portion level. In order to extract the text, you need to extract that on portion level along with all its properties. Please visit the below links for your kind reference in this regard.

http://www.aspose.com/docs/display/slidesnet/Managing+Font+Related+Properties



Many Thanks,