Skip to content

Conversation

@ElizabethSamuel-MSFT
Copy link
Contributor

Addresses API coverage for PlaceholderType.

await PowerPoint.run(async (context) => {
// Get properties for every shape in the collection.
const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
shapes.load("type,name");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
shapes.load("type,name");
shapes.load("type, name");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for your suggestion. I'll take this as a follow-up item since it's like this in a number of my samples, so I'll scrub them for consistency

await PowerPoint.run(async (context) => {
// Get properties for every shape in the collection.
const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
shapes.load("type,name");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
shapes.load("type,name");
shapes.load("type, name");

@ElizabethSamuel-MSFT ElizabethSamuel-MSFT merged commit 83564a4 into main Nov 17, 2025
1 check passed
@ElizabethSamuel-MSFT ElizabethSamuel-MSFT deleted the eliz-ppt-placeholder-shape branch November 17, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants