OfficeIMO

API Reference

Command

Get-OfficePowerPointLayout

Namespace PSWriteOffice
Inputs
OfficeIMO.PowerPoint.PowerPointPresentation
Outputs
OfficeIMO.PowerPoint.PowerPointSlideLayoutInfo

Lists slide layouts available in a presentation.

Remarks

Lists slide layouts available in a presentation.

Examples

Enumerate layouts for the first master.


PS>Get-OfficePowerPointLayout -Presentation $ppt
        

Returns layout metadata including name, type, and index.

List layouts inside the DSL.


PS>New-OfficePowerPoint -Path .\deck.pptx { Get-OfficePowerPointLayout | Select-Object -First 3 }
        

Uses the current DSL presentation 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-OfficePowerPointLayout [-Master <Int32>] [-Presentation <PowerPointPresentation>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Master Int32 optionalposition: namedpipeline: False
Slide master index.
Presentation PowerPointPresentation optionalposition: namedpipeline: True (ByValue)
Presentation to inspect (optional inside DSL).

Outputs

OfficeIMO.PowerPoint.PowerPointSlideLayoutInfo