How to delete specified texts and images in the slides?

Dear Support,

I want to delete any internet address text (such as http://www.123.com, https://abc.com, www.3ccc.com and so on) in the slides, delete watermarks in the slides, and delete all the pictures that contain QR code image. How to do it?

Thanks for your help!

Ducaisoft

@ducaisoft,

I have not been able to understand your requirements completely. Can you please share the snapshots and sample presentations elaborating your requirements.

Thanks for your response.
Please refer to the attachment for the sample ppt.
Test.zip (342.5 KB)

@ducaisoft,

I have observed your requirements related to removing text in presentation. I suggest you to please visit this documentation article for accessing and extracting text inside presentation slides. You can use this article to access text and replace or reset the text frame text as per your requirements.

Secondly, the images are associated with shapes inside presentation as I already have shred with you in previous conversation for how to add the image inside shape. Aspose.Slides provide general method to access shape collection and remove that.

pres.Slides[0].Shapes.Remove(selected_shape);