# New-OfficePowerPointPdfOptions

Creates discoverable PowerPoint-to-PDF conversion options for Export-OfficeDocumentPdf.

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 **727**

Forks **84**

Open issues **7**

Total downloads **5,275,783**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-24

Cmdlet 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.PowerPoint.Pdf.PowerPointToPdfOptions`

**Source**

[NewOfficePowerPointPdfOptionsCommand.cs:16](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/NewOfficePowerPointPdfOptionsCommand.cs#L16) 

Creates discoverable PowerPoint-to-PDF conversion options for Export-OfficeDocumentPdf.

## Syntax

```
New-OfficePowerPointPdfOptions
[-AllowDocumentFontEmbedding]
[-AllowSystemFontEmbedding]
[-ChartLayout <OfficeChartLayout>]
[-ChartStyle <OfficeChartStyle>]
[-FontFamily <String>]
[-HandoutSlidesPerPage <Int32>]
[-IncludeAutoShapes]
[-IncludeCharts]
[-IncludeHiddenSlides]
[-IncludePictures]
[-IncludeSlideBackgrounds]
[-IncludeSmartArt]
[-IncludeSpeakerNotes]
[-IncludeTables]
[-IncludeTextBoxes]
[-MaxGroupShapeDepth <Int32>]
[-PageLayout <Slides|NotesPages|Handouts>]
[-PdfOptions <PdfOptions>]
[-PictureFit <Stretch|Contain|Cover>]
[-WarnOnPictureAspectRatioDistortion]
[<CommonParameters>]
```

[#](#member-9e040f3070aaa43149f730d6)

Parameter set: `All Parameter Sets`

## Examples

### Create a handout PDF with notes and hidden slides.

```powershell
$options = New-OfficePowerPointPdfOptions -PageLayout Handouts -HandoutSlidesPerPage 3 -IncludeSpeakerNotes -IncludeHiddenSlides
Export-OfficeDocumentPdf -InputPath .\Briefing.pptx -Path .\Briefing.pdf -PowerPointOptions $options
```

## Parameters

**-AllowDocumentFontEmbedding SwitchParameter optional**

Allow embedding installed fonts selected by a trusted presentation. System-font embedding must also be enabled.

**-AllowSystemFontEmbedding SwitchParameter optional**

Allow embedding fonts discovered on the current system.

**-ChartLayout OfficeChartLayout optional**

Chart layout override.

**-ChartStyle OfficeChartStyle optional**

Chart visual style override.

**-FontFamily String optional**

Default font family used when the presentation does not specify one.

**-HandoutSlidesPerPage Int32 optional**

Number of slides on each handout page.

**-IncludeAutoShapes SwitchParameter optional**

Render automatic shapes.

**-IncludeCharts SwitchParameter optional**

Render charts.

**-IncludeHiddenSlides SwitchParameter optional**

Include slides marked hidden.

**-IncludePictures SwitchParameter optional**

Render pictures.

**-IncludeSlideBackgrounds SwitchParameter optional**

Render slide backgrounds.

**-IncludeSmartArt SwitchParameter optional**

Render SmartArt.

**-IncludeSpeakerNotes SwitchParameter optional**

Include speaker notes.

**-IncludeTables SwitchParameter optional**

Render tables.

**-IncludeTextBoxes SwitchParameter optional**

Render text boxes.

**-MaxGroupShapeDepth Int32 optional**

Maximum nested group-shape depth to render.

**-PageLayout PowerPointPdfPageLayout optional**

PDF page layout, such as slides, notes, or handouts.

Possible values: `Slides`, `NotesPages`, `Handouts`

**-PdfOptions PdfOptions optional**

Underlying low-level OfficeIMO PDF options.

**-PictureFit OfficeImageFit optional**

How pictures fit their shape bounds.

Possible values: `Stretch`, `Contain`, `Cover`

**-WarnOnPictureAspectRatioDistortion SwitchParameter optional**

Report pictures whose requested fit distorts their aspect ratio.

## 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:3B430D553A435ADCC91EF7E1E4D15EE6722536E03267A803578B4EF87A5B1712 -->
