Partager via


Work with Visio documents

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.

Task Procedure
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

See also