---
Product: Aspose.Slides
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/cpp/notesslidepart
---

# NotesSlidePart

## Overview

`NotesSlidePart` is a class in Aspose.Slides FOSS for C++.

Internal representation of a notes slide's placeholder storage. Tracks which placeholders are present and their text content.

This class declares 6 methods for NotesSlidePart objects in C++ programs.
Available methods include: `NotesSlidePart`, `add_placeholder`, `get_placeholder_text`, `has_placeholder`, `remove_placeholder`, `set_placeholder_text`.
Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `NotesSlidePart()` |  |
| `has_placeholder(type: std::string_view)` → `bool` | Checks whether a placeholder of the given type exists. |
| `add_placeholder(type: std::string_view)` | Adds a placeholder of the given type (no-op if already present). |
| `remove_placeholder(type: std::string_view)` | Removes a placeholder of the given type (no-op if not present). |
| `set_placeholder_text(type: std::string_view, text: std::string_view)` | Sets the text content of a placeholder, creating it if needed. |
| `get_placeholder_text(type: std::string_view)` → `std::string` | Gets the text content of a placeholder, or empty string if not present. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)