OfficeIMO

API Reference

Command

Add-OfficePowerPointSection

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

Adds a section to a PowerPoint presentation.

Remarks

Adds a section to a PowerPoint presentation.

Examples

Create a section that starts at slide 3.


PS>Add-OfficePowerPointSection -Presentation $ppt -Name 'Results' -StartSlideIndex 2
        

Creates a section named Results starting at the third slide.

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

Add-OfficePowerPointSection -Name <String> [-Presentation <PowerPointPresentation>] [-StartSlideIndex <Nullable`1>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Name String requiredposition: namedpipeline: False
Name of the section to add.
Presentation PowerPointPresentation optionalposition: namedpipeline: True (ByValue)
Presentation to update (optional inside DSL).
StartSlideIndex Nullable`1 optionalposition: namedpipeline: False
Zero-based slide index where the section should start.

Outputs

OfficeIMO.PowerPoint.PowerPointSectionInfo