# Set-OfficePowerPointThemeFonts

Sets PowerPoint theme fonts. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: PptThemeFonts

**Module**

`PSWriteOffice`

**Aliases**

`PptThemeFonts`

**Inputs**

`OfficeIMO.PowerPoint.PowerPointPresentation`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointPresentation`

**Source**

[SetOfficePowerPointThemeFontsCommand.cs:21](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/SetOfficePowerPointThemeFontsCommand.cs#L21) 

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>]
```

[#](#method-set-officepowerpointthemefonts-switchparameter-switchparameter-string-string-string-int32-string-string-string-switchparameter-powerpointpresentation)

Parameter set: `All Parameter Sets`

## Examples

### Set theme Latin fonts.

```powershell
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 optional**

Apply the changes across all slide masters.

**-ClearMissing SwitchParameter optional**

Clear unspecified font slots instead of keeping existing values.

**-MajorComplexScript String optional**

Major complex script font.

**-MajorEastAsian String optional**

Major East Asian font.

**-MajorLatin String optional**

Major Latin font.

**-Master Int32 optional**

Slide master index to update when not using AllMasters.

**-MinorComplexScript String optional**

Minor complex script font.

**-MinorEastAsian String optional**

Minor East Asian font.

**-MinorLatin String optional**

Minor Latin font.

**-PassThru SwitchParameter optional**

Emit the presentation after update.

**-Presentation PowerPointPresentation optionalpipeline: True (ByValue)**

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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:22BD78BC2E2F75869597B0AFD66283B9EC1B1F152F40661728EE8D2D1025AD34 -->
