# Export-OfficeWordImage

Exports one or more Word pages through the format-neutral OfficeIMO image pipeline.

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

`OfficeIMO.Word.WordDocument`

**Outputs**

`OfficeIMO.Drawing.OfficeImageExportResult`

**Source**

[ExportOfficeWordImageCommand.cs:25](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Word/ExportOfficeWordImageCommand.cs#L25) 

Exports one or more Word pages through the format-neutral OfficeIMO image pipeline.

## Syntax

```
Export-OfficeWordImage
[-AllPages]
[-Format <OfficeImageExportFormat>]
[-Options <WordImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[-Path] <String>
[<CommonParameters>]
```

[#](#method-export-officewordimage-switchparameter-officeimageexportformat-wordimageexportoptions-string-switchparameter-string)

Parameter set: `Path`

```
Export-OfficeWordImage
[-AllPages]
-Document <WordDocument>
[-Format <OfficeImageExportFormat>]
[-Options <WordImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[<CommonParameters>]
```

[#](#method-export-officewordimage-switchparameter-worddocument-officeimageexportformat-wordimageexportoptions-string-switchparameter)

Parameter set: `Document`

## Examples

### Export the first page as SVG.

```powershell
Export-OfficeWordImage -Path .\Report.docx -OutputPath .\Report.svg -Format Svg
```

Writes the image quietly. Add -PassThru to receive the structured export result.

### Export every page as JPEG files.

```powershell
Export-OfficeWordImage -Path .\Report.docx -OutputPath .\Pages -Format Jpeg -AllPages
```

For a bounded batch, create options with New-OfficeWordImageOptions -PageIndex 0 -PageCount 2.

## Parameters

**-AllPages SwitchParameter optional**

Export every estimated page to the destination folder.

**-Format OfficeImageExportFormat optional**

Output image format.

Possible values: `Png`, `Svg`, `Jpeg`, `Tiff`, `Webp`, `Bmp`, `Pbm`, `Tga`, `Icon`

**-Options WordImageExportOptions optional**

Optional page, size, scale, theme, and rendering settings.

**-OutputPath String requiredposition: 1**

Destination image file, or destination folder when -AllPages or Options.PageCount requests a batch.

**-PassThru SwitchParameter optional**

Emit the structured image export result.

**-Path String requiredposition: 0sets: Path**

Path to the Word document.

**-Document WordDocument requiredpipeline: True (ByValue)sets: Document**

Open Word document instance.

## 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:19C45C33524639091D3F2649B06933E33737943D7A32347A0A3A3C597361939E -->
