Cmdlet
Set-OfficePowerPointThemeFonts
Sets PowerPoint theme fonts.
Syntax
Set-OfficePowerPointThemeFonts
[-AllMasters]
[-ClearMissing]
[-MajorComplexScript <String>]
[-MajorEastAsian <String>]
[-MajorLatin <String>]
[-Master <Int32>]
[-MinorComplexScript <String>]
[-MinorEastAsian <String>]
[-MinorLatin <String>]
[-PassThru]
[-Presentation <PowerPointPresentation>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Set theme Latin fonts.
New-OfficePowerPoint -Path .\Examples\Documents\PowerPointThemeFonts.pptx {
Set-OfficePowerPointThemeFonts -MajorLatin 'Aptos Display' -MinorLatin 'Aptos' -AllMasters
Add-OfficePowerPointSlide -Layout 1 -PassThru | Set-OfficePowerPointSlideTitle -Title 'Theme fonts'
}Updates theme fonts before creating slides.
Parameters
- -AllMasters SwitchParameter
- Apply the changes across all slide masters.
- -ClearMissing SwitchParameter
- Clear unspecified font slots instead of keeping existing values.
- -MajorComplexScript String
- Major complex script font.
- -MajorEastAsian String
- Major East Asian font.
- -MajorLatin String
- Major Latin font.
- -Master Int32
- Slide master index to update when not using AllMasters.
- -MinorComplexScript String
- Minor complex script font.
- -MinorEastAsian String
- Minor East Asian font.
- -MinorLatin String
- Minor Latin font.
- -PassThru SwitchParameter
- Emit the presentation after update.
- -Presentation PowerPointPresentation
- Presentation to update (optional inside New-OfficePowerPoint).
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.