API Reference
Cmdlet
Set-OfficePowerPointSlideTransition
Sets the transition used when advancing to a slide.
Remarks
Works on an explicit slide object or on the current slide inside the PowerPoint DSL.
Examples
Apply a fade transition to a slide.
PS>
Get-OfficePowerPointSlide -Presentation $ppt -Index 0 | Set-OfficePowerPointSlideTransition -Transition Fade
Updates the first slide so it uses the Fade transition.
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
Set-OfficePowerPointSlideTransition [-PassThru] [-Slide <PowerPointSlide>] -Transition <Fade> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- PassThru SwitchParameter
- Emit the object created or changed by the command.
- Slide PowerPointSlide
- Slide to update (optional inside a slide DSL scope).
- Transition PowerPointSlideTransition
- Transition to apply.
- Possible values:
Fade,Wipe,BlindsVertical,BlindsHorizontal,CombHorizontal,CombVertical,PushUp,PushDown,PushLeft,PushRight,Cut,Flash,WarpIn,WarpOut,Prism,FerrisLeft,FerrisRight,Morph,Random,CheckerHorizontal,CheckerVertical,CoverLeft,CoverUp,CoverRight,CoverDown,CoverLeftUp,CoverRightUp,CoverLeftDown,CoverRightDown,Dissolve,FadeThroughBlack,UncoverLeft,UncoverUp,UncoverRight,UncoverDown,UncoverLeftUp,UncoverRightUp,UncoverLeftDown,UncoverRightDown,RandomBarsHorizontal,RandomBarsVertical,StripsLeftUp,StripsRightUp,StripsLeftDown,StripsRightDown,WipeUp,WipeRight,WipeDown,BoxOut,BoxIn,SplitHorizontalOut,SplitHorizontalIn,SplitVerticalOut,SplitVerticalIn,Diamond,Plus,Wedge,Newsflash,WheelOneSpoke,WheelTwoSpokes,WheelThreeSpokes,WheelFourSpokes,WheelEightSpokes,Circle,CutThroughBlack
Outputs
OfficeIMO.PowerPoint.PowerPointSlide