@grevick,
We have investigated your requirements. This text (“Please click…”) generated by PowerPoint for these placeholders, it does not exist in a document itself and we didn’t have it in Slides. You may add it manually too, as an option if it is really required:
using (Presentation pres = new Presentation("pres.pptx"))
{
ISlide slide = pres.Slides[0];
foreach (IShape shape in slide.Slide.Shapes) // iterate through the slide
{
if (shape.Placeholder != null && shape is AutoShape)
{
string text = "";
if (shape.Placeholder.Type == PlaceholderType.CenteredTitle) // title - the text is empty, PowerPoint displays "Click to add title".
{
text = "Click to add title";
}
else if (shape.Placeholder.Type == PlaceholderType.Subtitle) // the same for subtitle.
{
text = "Click to add subtitle";
}
Console.WriteLine($"Placeholder with text: {text}");
}
}
}