Cmdlet
Export-OfficeVisioImage
Exports selected Visio pages through the format-neutral OfficeIMO image pipeline.
Syntax
Export-OfficeVisioImage
[-Format <OfficeImageExportFormat>]
[-Options <VisioImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[-Path] <String>
[<CommonParameters>]#Parameter set:
PathExport-OfficeVisioImage
-Document <VisioDocument>
[-Format <OfficeImageExportFormat>]
[-Options <VisioImageExportOptions>]
[-OutputPath] <String>
[-PassThru]
[<CommonParameters>]#Parameter set:
DocumentExamples
Export every page as PNG.
Export-OfficeVisioImage -Path .\diagram.vsdx -OutputPath .\Images -Format PngWrites one PNG per selected page. Add -PassThru to receive one result object per file.
Parameters
- -Format OfficeImageExportFormat
- Output image format.
- Possible values:
Png,Svg,Jpeg,Tiff,Webp,Bmp,Pbm,Tga,Icon - -Options VisioImageExportOptions
- Optional page selection, size, concurrency, and rendering settings.
- -OutputPath String
- Destination folder.
- -PassThru SwitchParameter
- Emit one structured image export result per saved page.
- -Path String
- Path to a Visio document.
- -Document VisioDocument
- 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.