Placeholder — Aspose.Slides FOSS for .NET API Reference
The Placeholder class represents placeholder metadata on a shape. It is accessed via Shape.Placeholder and indicates that the shape inherits its purpose (title, body, date, footer, etc.) from a layout or master slide placeholder.
Package: Aspose.Slides.Foss (net9.0)
using Aspose.Slides.Foss;public class Placeholder : IPlaceholderUsage Examples
Find Placeholder Shapes
using Aspose.Slides.Foss;
using var prs = new Presentation("deck.pptx");
foreach (var slide in prs.Slides)
{
foreach (var shape in slide.Shapes)
{
if (shape.Placeholder != null)
{
Console.WriteLine($"Shape '{shape.Name}' is a placeholder");
}
}
}