officefileapi-devexpress-dot-docs-dot-presentation-dot-slidebase-8e2b42a5.md
Gets the slide shapes.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public ShapeCollection Shapes { get; }
Public ReadOnly Property Shapes As ShapeCollection
| Type | Description |
|---|---|
| ShapeCollection |
A collection of ShapeBase objects.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Shapes property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
presentation-api-extract-content/CS/Program.cs#L124
string slideNoteText = "";
foreach (var noteShape in presentation.Slides[slideNumber].Notes.Shapes) {
if (noteShape is Shape textNoteShape) {
presentation-api-extract-content/VB/Program.vb#L113
Dim slideNoteText_Conflict As String = ""
For Each noteShape In presentation.Slides(slideNumber).Notes.Shapes
Dim tempVar As Boolean = TypeOf noteShape Is Shape
See Also