| external help file | PSWriteOffice-help.xml |
|---|---|
| Module Name | PSWriteOffice |
| online version | https://github.com/EvotecIT/PSWriteOffice |
| schema | 2.0.0 |
Sets the slide size for a PowerPoint presentation.
Set-OfficePowerPointSlideSize -Preset <PowerPointSlideSizePreset> [-Presentation <PowerPointPresentation>] [-Portrait] [<CommonParameters>]Set-OfficePowerPointSlideSize -WidthCm <double> -HeightCm <double> [-Presentation <PowerPointPresentation>] [<CommonParameters>]Set-OfficePowerPointSlideSize -WidthInches <double> -HeightInches <double> [-Presentation <PowerPointPresentation>] [<CommonParameters>]Set-OfficePowerPointSlideSize -WidthPoints <double> -HeightPoints <double> [-Presentation <PowerPointPresentation>] [<CommonParameters>]Set-OfficePowerPointSlideSize -WidthEmus <long> -HeightEmus <long> [-Presentation <PowerPointPresentation>] [<CommonParameters>]Sets the slide size for a PowerPoint presentation.
PS>Set-OfficePowerPointSlideSize -Presentation $ppt -Preset Screen16x9Applies the 16:9 widescreen preset to the presentation.
PS>Set-OfficePowerPointSlideSize -Presentation $ppt -WidthCm 25.4 -HeightCm 14.0Sets the presentation slide size to a custom 25.4 x 14.0 cm layout.
Custom slide height in centimeters.
Type: Double
Parameter Sets: Centimeters
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCustom slide height in EMUs.
Type: Int64
Parameter Sets: Emus
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCustom slide height in inches.
Type: Double
Parameter Sets: Inches
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCustom slide height in points.
Type: Double
Parameter Sets: Points
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueApply the preset in portrait orientation.
Type: SwitchParameter
Parameter Sets: Preset
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePresentation to update (optional inside New-OfficePowerPoint).
Type: PowerPointPresentation
Parameter Sets: Preset, Centimeters, Inches, Points, Emus
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: TruePreset slide size to apply.
Type: PowerPointSlideSizePreset
Parameter Sets: Preset
Aliases: None
Possible values: Screen4x3, Screen16x9, Screen16x10
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCustom slide width in centimeters.
Type: Double
Parameter Sets: Centimeters
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCustom slide width in EMUs.
Type: Int64
Parameter Sets: Emus
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCustom slide width in inches.
Type: Double
Parameter Sets: Inches
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCustom slide width in points.
Type: Double
Parameter Sets: Points
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
OfficeIMO.PowerPoint.PowerPointPresentation
OfficeIMO.PowerPoint.PowerPointSlideSize
- None