API Reference
Command
Get-OfficePowerPointLayoutBox
Computes reusable layout boxes for a presentation.
Remarks
Computes reusable layout boxes for a presentation.
Examples
Get the content area for a deck.
PS>Get-OfficePowerPointLayoutBox -Presentation $ppt -MarginCm 1.5
Returns a single layout box representing the usable slide area.
Split the slide into two columns.
PS>Get-OfficePowerPointLayoutBox -Presentation $ppt -ColumnCount 2 -MarginCm 1.5 -GutterCm 1.0
Returns one layout box per column.
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-OfficePowerPointLayoutBox [-MarginCm <Double>] [-Presentation <PowerPointPresentation>] [<CommonParameters>]#Parameter set:
ContentParameters
- MarginCm Double
- Outer slide margin in centimeters.
- Presentation PowerPointPresentation
- Presentation to inspect (optional inside DSL).
Outputs
OfficeIMO.PowerPoint.PowerPointLayoutBox
Get-OfficePowerPointLayoutBox -ColumnCount <Int32> [-GutterCm <Double>] [-MarginCm <Double>] [-Presentation <PowerPointPresentation>] [<CommonParameters>]#Parameter set:
ColumnsParameters
- ColumnCount Int32
- Number of columns to generate.
- GutterCm Double
- Column or row gutter in centimeters.
- MarginCm Double
- Outer slide margin in centimeters.
- Presentation PowerPointPresentation
- Presentation to inspect (optional inside DSL).
Outputs
OfficeIMO.PowerPoint.PowerPointLayoutBox
Get-OfficePowerPointLayoutBox [-GutterCm <Double>] [-MarginCm <Double>] [-Presentation <PowerPointPresentation>] -RowCount <Int32> [<CommonParameters>]#Parameter set:
RowsParameters
- GutterCm Double
- Column or row gutter in centimeters.
- MarginCm Double
- Outer slide margin in centimeters.
- Presentation PowerPointPresentation
- Presentation to inspect (optional inside DSL).
- RowCount Int32
- Number of rows to generate.
Outputs
OfficeIMO.PowerPoint.PowerPointLayoutBox