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

Free Support Forum - aspose.com

How to highlight a particular text in PPT

Hi ,

I have a requirement to find and highlight a text in ppt using aspose.slides.
I am able to find a particular text in ppt. But not able to highlight the same text.

Could you please share some sample code to highlight a text in ppt?

Thanks in Advance.


I have observed your requirements and suggest you to please visit this thread link for yuur convenience. I hope the shared information will be helpful.

Thanks for the replay,

Please find below the code mentioned in the above reference thread.
(Here color change is for the entire portion)

Portion portion1 = new Portion(“portion 1;”);
portion1.getPortionFormat().getHighlightColor().setColor (Color.YELLOW);

Actually I need something like this, Highlight part of text.
portion1.Text.Find(“Summary”).getHighlightColor().setColor (Color.YELLOW);


I have observed your requirements and regret to inform that this is not supported yet. A ticket with ID SLIDESNET-40600 has been created as in our issue tracking system as a new feature request. We will look into the possibility of implementation of the requested feature. This thread has been associated with this new feature request, so that you can be automatically notified as soon as this issue is resolved.

The issues you have found earlier (filed as SLIDESNET-40600) have been fixed in this update.