OfficeIMO

API Reference

Command

Get-OfficePowerPointLayoutPlaceholder

Namespace PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointSlide
Outputs
OfficeIMO.PowerPoint.PowerPointLayoutPlaceholderInfo

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 Sets

Parameters

Index Nullable`1 optionalposition: namedpipeline: False
Optional placeholder index.
PlaceholderType String optionalposition: namedpipeline: Falsealiases: Type
Placeholder type to filter on.
Slide PowerPointSlide optionalposition: namedpipeline: True (ByValue)
Slide to inspect (optional inside DSL).

Outputs

OfficeIMO.PowerPoint.PowerPointLayoutPlaceholderInfo