Back to Devexpress

SlideBase.Shapes Property

officefileapi-devexpress-dot-docs-dot-presentation-dot-slidebase-8e2b42a5.md

latest2.3 KB
Original Source

SlideBase.Shapes Property

Gets the slide shapes.

Namespace : DevExpress.Docs.Presentation

Assembly : DevExpress.Docs.Presentation.v25.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public ShapeCollection Shapes { get; }
vb
Public ReadOnly Property Shapes As ShapeCollection

Property Value

TypeDescription
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

csharp
string slideNoteText = "";
foreach (var noteShape in presentation.Slides[slideNumber].Notes.Shapes) {
    if (noteShape is Shape textNoteShape) {

presentation-api-extract-content/VB/Program.vb#L113

vb
Dim slideNoteText_Conflict As String = ""
For Each noteShape In presentation.Slides(slideNumber).Notes.Shapes
    Dim tempVar As Boolean = TypeOf noteShape Is Shape

See Also

SlideBase Class

SlideBase Members

DevExpress.Docs.Presentation Namespace