API Reference
Command
Get-OfficePowerPointLayoutPlaceholder
Gets layout placeholder metadata for a slide.
Remarks
Gets layout placeholder metadata for a slide.
Examples
List layout placeholders.
PS>Get-OfficePowerPointLayoutPlaceholder -Slide $slide
Returns the layout placeholder definitions for the slide.
Inspect layout placeholders inside the DSL.
PS>New-OfficePowerPoint -Path .\deck.pptx { PptSlide { Get-OfficePowerPointLayoutPlaceholder } }
Uses the current slide context.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-OfficePowerPointLayoutPlaceholder [-Index <Nullable`1>] [-PlaceholderType <String>] [-Slide <PowerPointSlide>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Index Nullable`1
- Optional placeholder index.
- PlaceholderType String
- Placeholder type to filter on.
- Slide PowerPointSlide
- Slide to inspect (optional inside DSL).
Outputs
OfficeIMO.PowerPoint.PowerPointLayoutPlaceholderInfo