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

Free Support Forum - aspose.com

How to remove Default Text Holders "Click to add title" from a PPTX template

Hi,

Kindly let me know how we can remove unwanted holders like 'Click to Add Title' from a presentation we are working on.

Thanks,

Koundi

Hi Koundi,


I have observed your requirements and like to share that it is not an issue and nor it can be set using Aspose.Slides. In fact Microsoft PowerPoint display such text for user convenience in case if there is no text assigned in placeholder.

The workaround that I can suggest in this regard is that you may access such placeholders and set text by giving some blank spaces. This way when you will open the presentation in PowerPoint, there will be no such message.

Many Thanks,

Hi,


You can do as below :

instead of using : titleLayoutSlide.Name == "Title Only"
use
titleLayoutSlide.Name == "Empty"

Regards,
Deb

Hi Deb,


Thanks for sharing information with us.

Best Regards,