Cmdlet
Get-OfficePowerPointLayoutPlaceholder
Gets layout placeholder metadata for a slide.
Syntax
Get-OfficePowerPointLayoutPlaceholder
[-Index <UInt32>]
[-PlaceholderType <PowerPointPlaceholderType>]
[-Slide <PowerPointSlide>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
List layout placeholders.
Get-OfficePowerPointLayoutPlaceholder -Slide $slideReturns the layout placeholder definitions for the slide.
Inspect layout placeholders inside the DSL.
New-OfficePowerPoint -Path .\deck.pptx { PptSlide { Get-OfficePowerPointLayoutPlaceholder } }Uses the current slide context.
Parameters
- -Index UInt32
- Optional placeholder index.
- -PlaceholderType PowerPointPlaceholderType
- Placeholder type to filter on.
- Possible values:
Title,Body,CenteredTitle,SubTitle,DateAndTime,SlideNumber,Footer,Header,Object,Chart,Table,ClipArt,Diagram,Media,SlideImage,Picture - -Slide PowerPointSlide
- Slide to inspect (optional inside DSL).
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.