VisioAutomation2010 3.0.0

dotnet add package VisioAutomation2010 --version 3.0.0
                    
NuGet\Install-Package VisioAutomation2010 -Version 3.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VisioAutomation2010" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VisioAutomation2010" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="VisioAutomation2010" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add VisioAutomation2010 --version 3.0.0
                    
#r "nuget: VisioAutomation2010, 3.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package VisioAutomation2010@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=VisioAutomation2010&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=VisioAutomation2010&version=3.0.0
                    
Install as a Cake Tool

VisioAutomation

Build NuGet PowerShell Gallery License: MIT

A set of .NET libraries that make it easier to control Microsoft Visio from .NET languages. In addition to simplifying common tasks, they make it easier to build your own Visio add-ins, automation tools, and scripts.

The project ships two artifacts:

Artifact What it is Install
VisioAutomation2010 The .NET library Install-Package VisioAutomation2010
Visio A PowerShell module that wraps the library Install-Module Visio

Quick example

C# (using the high-level scripting facade):

var visio  = new Microsoft.Office.Interop.Visio.Application();
var client = new VisioScripting.Client(visio);

client.Document.NewDocument();
client.Draw.DrawRectangle(VisioScripting.TargetPage.Auto,
                          new VisioAutomation.Core.Rectangle(0, 0, 4, 2));
client.Text.SetShapeText(VisioScripting.TargetShapes.Auto, new[] { "Hello, Visio!" });

PowerShell:

Import-Module Visio

New-VisioApplication
New-VisioDocument
New-VisioShape -Rectangle -BoundingBox (New-VisioRectangle 0 0 4 2)

Documentation

User guides (recommended first stop):

Developer / architecture docs in this repo:

Release notes:

Contributing

See CONTRIBUTING.md. Development happens on master.

License

MIT. Copyright (c) Saveen Reddy.

Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5.2

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 36 5/7/2026
2.6.0 6,424 3/9/2019
2.5.0 1,984 8/15/2017
2.4.0 1,438 8/13/2017
2.3.1 1,509 5/3/2017
2.3.0 1,423 5/3/2017
2.2.0 1,520 4/24/2017
2.1.0 1,445 4/22/2017
2.0.0 1,518 4/22/2017
1.25.0 1,465 4/14/2017
1.24.0 1,475 3/8/2017
1.23.0 1,449 3/1/2017
1.22.0 1,486 2/26/2017
1.21.0 1,947 2/21/2017
1.20.0 1,451 2/20/2017
1.19.0 1,483 2/20/2017
1.18.0 1,511 2/19/2017
1.17.0 1,463 2/19/2017
1.15.0 1,401 2/19/2017
1.14.0 1,494 2/19/2017
Loading failed