We recommend using Visual Studio 2017

Working with Visio Documents


The topics in this section provide step-by-step procedures and code examples for using the object model of Microsoft Office Visio to work with documents in Office projects.

Create a blank Visio document, or a new document that is based on an existing Visio template, stencil, or document.How to: Programmatically Create New Visio Documents
Open an existing Visio document and specify options for read/write, read-only, and docked.How to: Programmatically Open Visio Documents
Close the active Visio document.How to: Programmatically Close Visio Documents
Save a document with the same name or a new name.How to: Programmatically Save Visio Documents
Print an entire document or a specified page.How to: Programmatically Print Visio Documents

Visio Solutions
Visio Object Model Overview
Office Solutions Development Overview (VSTO)