API Reference
Command
Get-OfficePowerPointPlaceholder
Gets placeholder text boxes from a slide.
Remarks
Gets placeholder text boxes from a slide.
Examples
Get the title placeholder.
PS>Get-OfficePowerPointPlaceholder -Slide $slide -PlaceholderType Title
Returns the title placeholder textbox if present.
Get placeholders inside a slide DSL block.
PS>New-OfficePowerPoint -Path .\deck.pptx { PptSlide { Get-OfficePowerPointPlaceholder -PlaceholderType Title } }
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-OfficePowerPointPlaceholder [-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.PowerPointTextBox