Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

ConvertTo-OfficeVisioVisual

Module
PSWriteOffice
Inputs
System.Object
Outputs
OfficeIMO.ChartForgeX.OfficeVisioVisualConversionResult

Converts CFX semantic visual-artifact input into a native editable OfficeIMO.Visio document.

Syntax

ConvertTo-OfficeVisioVisual
[-InputObject] <Object>
[-NoGroups]
[-NoHyperlinks]
[-NoShapeData]
[-NoTitle]
[-PageName <String>]
[-PixelsPerInch <Double>]
[-UseNaturalPageSize]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Convert an ImagePlayground topology into editable Visio objects.

$visio = $topology | ConvertTo-ImageVisualArtifact | ConvertTo-OfficeVisioVisual
$visio.Document | Save-OfficeVisio -Path .\Topology.vsdx

Consumes the portable CFX semantic payload and returns the document, page, and fidelity report.

Parameters

-InputObject Object requiredposition: 0pipeline: True (ByValue)
Typed CFX artifact, semantic envelope/JSON, ImagePlayground portable artifact, or prior conversion result.
-NoGroups SwitchParameter optional
Do not create native Visio containers for CFX groups or lanes.
Do not copy safe CFX links onto native Visio shapes and connectors.
-NoShapeData SwitchParameter optional
Do not copy CFX metadata, ports, and details into Visio Shape Data.
-NoTitle SwitchParameter optional
Do not add the artifact title as an editable Visio title.
-PageName String optional
Name of the generated Visio page.
-PixelsPerInch Double optional
Pixel density used with -UseNaturalPageSize.
-UseNaturalPageSize SwitchParameter optional
Use the CFX natural pixel size as the minimum Visio page size.

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.