OfficeIMO

API Reference

Command

Get-OfficePowerPointLayoutBox

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

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: Content

Parameters

MarginCm Double optionalposition: namedpipeline: False
Outer slide margin in centimeters.
Presentation PowerPointPresentation optionalposition: namedpipeline: True (ByValue)
Presentation to inspect (optional inside DSL).

Outputs

OfficeIMO.PowerPoint.PowerPointLayoutBox

Get-OfficePowerPointLayoutBox -ColumnCount <Int32> [-GutterCm <Double>] [-MarginCm <Double>] [-Presentation <PowerPointPresentation>] [<CommonParameters>]
#
Parameter set: Columns

Parameters

ColumnCount Int32 requiredposition: namedpipeline: False
Number of columns to generate.
GutterCm Double optionalposition: namedpipeline: False
Column or row gutter in centimeters.
MarginCm Double optionalposition: namedpipeline: False
Outer slide margin in centimeters.
Presentation PowerPointPresentation optionalposition: namedpipeline: True (ByValue)
Presentation to inspect (optional inside DSL).

Outputs

OfficeIMO.PowerPoint.PowerPointLayoutBox

Get-OfficePowerPointLayoutBox [-GutterCm <Double>] [-MarginCm <Double>] [-Presentation <PowerPointPresentation>] -RowCount <Int32> [<CommonParameters>]
#
Parameter set: Rows

Parameters

GutterCm Double optionalposition: namedpipeline: False
Column or row gutter in centimeters.
MarginCm Double optionalposition: namedpipeline: False
Outer slide margin in centimeters.
Presentation PowerPointPresentation optionalposition: namedpipeline: True (ByValue)
Presentation to inspect (optional inside DSL).
RowCount Int32 requiredposition: namedpipeline: False
Number of rows to generate.

Outputs

OfficeIMO.PowerPoint.PowerPointLayoutBox