API Reference
Command
Set-OfficePowerPointThemeFonts
Sets PowerPoint theme fonts.
Remarks
Sets PowerPoint theme fonts.
Examples
Set theme Latin fonts.
PS>Set-OfficePowerPointThemeFonts -Presentation $ppt -MajorLatin 'Aptos' -MinorLatin 'Calibri'
Updates the default master theme fonts.
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-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 SetsParameters
- 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).
Outputs
OfficeIMO.PowerPoint.PowerPointPresentation