# Export-OfficeVisioImage

Exports selected Visio 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.Visio.VisioDocument`

**Outputs**

`OfficeIMO.Drawing.OfficeImageExportResult`

**Source**

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

Exports selected Visio pages through the format-neutral OfficeIMO image pipeline.

## Syntax

```
Export-OfficeVisioImage
[-Format <OfficeImageExportFormat>]
[-Options <VisioImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[-Path] <String>
[<CommonParameters>]
```

[#](#method-export-officevisioimage-officeimageexportformat-visioimageexportoptions-string-switchparameter-string)

Parameter set: `Path`

```
Export-OfficeVisioImage
-Document <VisioDocument>
[-Format <OfficeImageExportFormat>]
[-Options <VisioImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[<CommonParameters>]
```

[#](#method-export-officevisioimage-visiodocument-officeimageexportformat-visioimageexportoptions-string-switchparameter)

Parameter set: `Document`

## Examples

### Export every page as PNG.

```powershell
Export-OfficeVisioImage -Path .\diagram.vsdx -OutputPath .\Images -Format Png
```

Writes one PNG per selected page. Add -PassThru to receive one result object per file.

## Parameters

**-Format OfficeImageExportFormat optional**

Output image format.

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

**-Options VisioImageExportOptions optional**

Optional page selection, size, concurrency, and rendering settings.

**-OutputPath String requiredposition: 1**

Destination folder.

**-PassThru SwitchParameter optional**

Emit one structured image export result per saved page.

**-Path String requiredposition: 0aliases: FilePathsets: Path**

Path to a Visio document.

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

Open Visio 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:03ED41ECDAEE6570F04250D7AD1664A46465C040D4AE4F4F8139C999D128AA73 -->
