# Export-OfficeExcelImage

Exports workbook sheets as PNG or SVG images with one result per sheet.

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.Excel.ExcelDocument`

**Outputs**

`OfficeIMO.Drawing.OfficeImageExportResult`

**Source**

[ExportOfficeExcelImageCommand.cs:19](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Excel/ExportOfficeExcelImageCommand.cs#L19) 

Exports workbook sheets as PNG or SVG images with one result per sheet.

## Syntax

```
Export-OfficeExcelImage
[-Format <OfficeImageExportFormat>]
[-Options <ExcelWorkbookImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[-Path] <String>
[<CommonParameters>]
```

[#](#method-export-officeexcelimage-officeimageexportformat-excelworkbookimageexportoptions-string-switchparameter-string)

Parameter set: `Path`

```
Export-OfficeExcelImage
-Document <ExcelDocument>
[-Format <OfficeImageExportFormat>]
[-Options <ExcelWorkbookImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[<CommonParameters>]
```

[#](#method-export-officeexcelimage-exceldocument-officeimageexportformat-excelworkbookimageexportoptions-string-switchparameter)

Parameter set: `Document`

## Examples

### Export visible sheets as PNG files.

```powershell
Export-OfficeExcelImage -Path .\Report.xlsx -OutputPath .\Images
```

Writes one image per selected sheet. Add -PassThru to receive the structured export results.

## Parameters

**-Format OfficeImageExportFormat optional**

Output image format.

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

**-Options ExcelWorkbookImageExportOptions optional**

Optional sheet selection, range, size, and rendering settings.

**-OutputPath String requiredposition: 1**

Destination folder.

**-PassThru SwitchParameter optional**

Emit one structured image export result per saved sheet.

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

Path to the workbook.

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

Open workbook 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:0E64E8D0B9A3F4D23BE57B1C7139536E6F6F39CC8854EDA383C1F8B173EDDE98 -->
