OfficeIMO

API Reference

Command

Set-OfficePowerPointThemeFonts

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

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 Sets

Parameters

AllMasters SwitchParameter optionalposition: namedpipeline: False
Apply the changes across all slide masters.
ClearMissing SwitchParameter optionalposition: namedpipeline: False
Clear unspecified font slots instead of keeping existing values.
MajorComplexScript String optionalposition: namedpipeline: False
Major complex script font.
MajorEastAsian String optionalposition: namedpipeline: False
Major East Asian font.
MajorLatin String optionalposition: namedpipeline: False
Major Latin font.
Master Int32 optionalposition: namedpipeline: False
Slide master index to update when not using AllMasters.
MinorComplexScript String optionalposition: namedpipeline: False
Minor complex script font.
MinorEastAsian String optionalposition: namedpipeline: False
Minor East Asian font.
MinorLatin String optionalposition: namedpipeline: False
Minor Latin font.
PassThru SwitchParameter optionalposition: namedpipeline: False
Emit the presentation after update.
Presentation PowerPointPresentation optionalposition: namedpipeline: True (ByValue)
Presentation to update (optional inside New-OfficePowerPoint).

Outputs

OfficeIMO.PowerPoint.PowerPointPresentation