Format speaker notes

Dear Aspose,

we have a problem with formatting in speaker notes. We need to format speaker notes prefferably as HTML, ie: we need to insert html formatted string in speaker notes. If this is not possible, could you please give us an example how to format text in speaker notes to be bold, italic and underline.

We tried to format speaker notes using following code:

Dim para As New Aspose.Slides.Paragraph()

Dim portion As New Aspose.Slides.Portion()

portion.FontBold = True

portion.Text = "Text bold"

para.Portions.Add(portion)

dstSlide.Notes.Paragraphs.Add(para)

We are using Aspose.Slides for .NET 5.2.0.0

Thanks,

Boca

Hi Jelena ,

I regret to share that Aspose.Slides for .NET does not support HTML text with formatting. Aspose.Slides for .NET supports fonts related properties on portions and paragraph levels. However, the text properties are embedded as html tags. One need to write his own parsing routine to project the font properties from HTML tags to respective font property in Aspose.Slides for .NET. Hope it clears the concept.

Thanks and Regards,

OK. We need to create our own parser for HTML. But how can we insert formatted text into speaker notes, for example:

"This is speaker note. It contains text in bold, italic and underline."

In general, our question is how to format speaker notes to support formatted text. Please give us an example how to achieve this for PPTX and PPT format.

Thanks!

Hi Jelena,

The Notes class also contain textframe object for managing the text inside the notes. The similar paragraphs and portion policies are applied on the notes. Please visit link 1 for PPT and link 2 for PPTX text formatting.

Thanks and Regards,