Cmdlet
Get-OfficePowerPointPlaceholder
Gets native slide placeholders or metadata from the selected slide's template layout.
Syntax
Get-OfficePowerPointPlaceholder
[-Document <PowerPointDocument>]
[-Index <UInt32>]
[-Slide <PowerPointSlideSelector>]
[-Type <PowerPointPlaceholderType>]
[<CommonParameters>]#Parameter set:
SlideGet-OfficePowerPointPlaceholder
[-Document <PowerPointDocument>]
-FromLayout
[-Index <UInt32>]
[-Slide <PowerPointSlideSelector>]
[-Type <PowerPointPlaceholderType>]
[<CommonParameters>]#Parameter set:
LayoutExamples
Read the first slide's title placeholder.
Get-OfficePowerPointPlaceholder -Document $deck -Slide 1 -Type TitleInspect template positions before filling a slide.
$slide | Get-OfficePowerPointPlaceholder -FromLayoutParameters
- -Document PowerPointDocument
- Gets or sets the document for numeric selection or explicit membership checks.
- -Index UInt32
- Gets or sets the native placeholder index to include.
- -Slide PowerPointSlideSelector
- Gets or sets a native slide or one-based position; omission uses the current slide block.
- -Type PowerPointPlaceholderType
- Gets or sets the placeholder type to include.
- Possible values:
Title,Body,CenteredTitle,SubTitle,DateAndTime,SlideNumber,Footer,Header,Object,Chart,Table,ClipArt,Diagram,Media,SlideImage,Picture - -FromLayout SwitchParameter
- Gets or sets whether to return layout metadata instead of live text boxes.
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.