# New-OfficePowerPointImageOptions

Creates discoverable slide selection and rendering settings for Export-OfficePowerPointImage.

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 

**Module**

`PSWriteOffice`

**Inputs**

`None`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointPresentationImageExportOptions`

**Source**

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

Creates discoverable slide selection and rendering settings for Export-OfficePowerPointImage.

## Syntax

```
New-OfficePowerPointImageOptions
[-BackgroundColor <String>]
[-IncludeAutoShapes]
[-IncludeCharts]
[-IncludeHiddenShapes]
[-IncludeHiddenSlides]
[-IncludePictures]
[-IncludeSlideBackground]
[-IncludeSlideContent]
[-IncludeTables]
[-IncludeTextBoxes]
[-MaximumDegreeOfParallelism <Int32>]
[-MaximumOutputCount <Int32>]
[-MaximumOutputHeight <Int32>]
[-MaximumOutputWidth <Int32>]
[-MaximumRasterPixels <Int64>]
[-MaximumTotalEncodedBytes <Int64>]
[-MaximumTotalRasterPixels <Int64>]
[-RasterOverflowBehavior <ReduceScale|Throw>]
[-RenderTimeoutSeconds <Double>]
[-Scale <Double>]
[-SlideNumber <Int32[]>]
[-TargetDpi <Double>]
[-TextShapingLanguage <String>]
[<CommonParameters>]
```

[#](#member-53ee715842f6826486849d3c)

Parameter set: `All Parameter Sets`

## Examples

### Render selected slides with their backgrounds and content.

```powershell
$options = New-OfficePowerPointImageOptions -SlideNumber 1,3 -IncludeSlideBackground -IncludeSlideContent
Export-OfficePowerPointImage -Path .\Deck.pptx -OutputPath .\Slides -Options $options
```

## Parameters

**-BackgroundColor String optional**

Background color name or hex value.

**-IncludeAutoShapes SwitchParameter optional**

Render auto shapes.

**-IncludeCharts SwitchParameter optional**

Render charts.

**-IncludeHiddenShapes SwitchParameter optional**

Render hidden shapes.

**-IncludeHiddenSlides SwitchParameter optional**

Include hidden slides.

**-IncludePictures SwitchParameter optional**

Render pictures.

**-IncludeSlideBackground SwitchParameter optional**

Render slide backgrounds.

**-IncludeSlideContent SwitchParameter optional**

Render slide content.

**-IncludeTables SwitchParameter optional**

Render tables.

**-IncludeTextBoxes SwitchParameter optional**

Render text boxes.

**-MaximumDegreeOfParallelism Int32 optional**

Maximum independent renders processed concurrently.

**-MaximumOutputCount Int32 optional**

Maximum images accepted from one batch export.

**-MaximumOutputHeight Int32 optional**

Maximum output height in pixels.

**-MaximumOutputWidth Int32 optional**

Maximum output width in pixels.

**-MaximumRasterPixels Int64 optional**

Maximum pixels allocated for one raster image.

**-MaximumTotalEncodedBytes Int64 optional**

Maximum aggregate encoded bytes accepted from one batch.

**-MaximumTotalRasterPixels Int64 optional**

Maximum aggregate raster pixels accepted from one batch.

**-RasterOverflowBehavior OfficeRasterOverflowBehavior optional**

Reduce or reject oversized raster output.

Possible values: `ReduceScale`, `Throw`

**-RenderTimeoutSeconds Double optional**

Maximum seconds allowed for one render.

**-Scale Double optional**

Output scale multiplier.

**-SlideNumber Int32[] optional**

One-based slide numbers to export.

**-TargetDpi Double optional**

Target output density in dots per inch.

**-TextShapingLanguage String optional**

BCP 47 language hint for text shaping.

## 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:BD4BA674E4387BB8B980DD8CEFFF466312CF240E4FD6779C32FF7C3D3D99AD79 -->
