Friedrich
Friedrich

Reputation: 645

Access Shape object in PowerPoint via Office.js

I am looking for a solution to iterate over all shapes in a PowerPoint slide (during a presentation) and find the position and size of all shapes that include a hyperlink.

Upvotes: 1

Views: 742

Answers (1)

MAOg0espr0
MAOg0espr0

Reputation: 25

At the present point this is not possible.

The only way to interact with data on the slides is the function document.getSelectedDataAsync(). I guess if you could get the user to select all data on the slide then you could access it with the getSelectedDataAsync function. However, if you take a look at the supported Office.CoercionType then you will find that PowerPoint Add-Ins only support Text and SlideRange.

For reference look at the Official Documentation for Document.getSelectedDataAsync

Anyhow, you can suggest further functionality here.

Cheers mate.

Upvotes: 1

Related Questions