Free Support Forum - aspose.com

Inserting Rich Text

shapeJ.TextFrame.Paragraphs[0].Portions[0].Text = s;

My string variable: s contains HTML tags, and powerpoint doesn't interpret them correctly.

Is there a way to insert HTML into textframes? or shapes?

I’m affraid html tags and rtf text are not supported directly.

And I never wrote about supporting these things in documentation.

Please check programmer’s guide.



You should parse your html tags and generate formatted paragraphs and portions.

where can i get the programmer's guide? do you mean the help file? not much source code examples in the help file?

is there another document that has more code examples?

I mean Wiki pages. Please check:

http://www.aspose.com/Wiki/Default.aspx/Aspose.PowerPoint/

By the way, did you try Northwind demo?

Sources of this demo can be downloaded separately

http://www.aspose.com/Downloads/Aspose.PowerPoint/Default.aspx

It contains examples for many features.