Skip to content

Freature-Request: Access SlideShapes items by name #309

@timhoffm

Description

@timhoffm

SlideShapes items can currently be accessed by index: slide.shapes[2]

It should be possible to access them by name as well: slide.shapes['myShape']

This behavior is in accordance with the Microsoft VBA API:
From https://msdn.microsoft.com/VBA/PowerPoint-VBA/articles/shapes-object-powerpoint

Use Shapes (index), where index is the shape's name or index number, to return a single Shape object.

If there is interest, I can work on a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions