Placeholder — Aspose.Slides FOSS for C++ API Reference
Placeholder shapes define content regions on layout and master slides (e.g., title, body, date, footer, slide number). In Aspose.Slides FOSS for C++, placeholder information is accessed through the Shape class.
Namespace: Aspose::Slides::Foss
Placeholder Access
The Shape class provides internal methods for working with placeholders:
| Method | Description |
|---|---|
get_placeholder_info() | Returns placeholder metadata (type, index, orientation). |
Placeholder types are determined by the XML <p:ph> element in the slide/layout part. Common placeholder types include Title, Body, CenteredTitle, Subtitle, DateAndTime, Footer, SlideNumber, and Content.
Layout Slide Placeholders
Layout slides define placeholder positions and sizes that are inherited by slides using that layout. The LayoutSlide::shapes() collection contains the placeholder shapes.
Master Slide Placeholders
Master slides define default placeholder formatting inherited by all layout slides.