Welcome to the Visio 2010 Automation Reference

This reference contains conceptual overviews, programming tasks, samples, and references to guide you in developing solutions based on Microsoft Visio 2010.

We welcome your comments or questions about this content. You can send feedback to docthis@microsoft.com.

Publish date of this reference: August 2010 (version 2010)

This documentation includes the following:

  • An overview of using Automation with Visio.

  • Details on Visio objects, properties, methods, enumerations, and events.

  • Information about the Visio object model, the Visio type library, and extending the functionality of Visio with macros, add-ons, and COM (Component Object Model) add-ins.

  • A sample Visual Basic for Applications (VBA) macro.

  • Information about common Automation tasks, such as starting the Visual Basic Editor; viewing Visio object, property, method, enumeration, and event descriptions in the Object Browser; connecting to data sources, linking shapes to data, and displaying shape data graphically; and running macros and add-ons.

  • Information about using the Microsoft Visio Drawing Control to integrate Visio into third-party applications.

For information about working with the cells, rows, and sections of a Visio ShapeSheet, either in the ShapeSheet window or by using Automation, see the Visio 2010 ShapeSheet Reference.

Versions of this documentation are accessible from the following locations:

  • From the product (most up-to-date version): If you are connected to the Internet, you can view the most recent version of this reference from within Visio. Click the Visio Help button, and then click the Search drop-down arrow. Under Content from Office.com, click Developer Reference.

  • From the product (installed version): If you are not connected to the Internet, you can still view the version of this reference that is included with your product. Click the Visio Help button, and then click the Search drop-down arrow. Under Content from this computer, click Developer Reference.

  • From the Microsoft Download Center: To download the latest version of the Automation Reference for offline viewing, see the Visio 2010 Software Development Kit in the Microsoft Download Center.

  • From the MSDN Library: To view the most recent version in your browser, see the Visio 2010 Automation Reference in the MSDN Library.

This documentation contains the following sections:

  • What's New: Provides a description of new features of interest to developers in Visio 2010 and the new members of the object model you can use to take advantage of these features.

  • Concepts: Provides important concepts for developing custom Visio solutions.

  • Common Automation Tasks: Describes common automation tasks for developing custom Visio solutions.

  • Reference: Provides reference materials for the Visio object model.

See Also

Concepts

Visio 2010 SDK Copyright Notice

Other Resources

Visio Developer Center

Accessibility in Microsoft Products

Document Conventions

Microsoft Online Privacy Notice