Chapter 4. Understanding the Validation API

The Validation API is new in Visio 2010 Premium edition, and provides the opportunity to create diagramming rules. These rules can help eliminate common errors and enable companies to enforce diagramming standards.

In the first chapter, we had an overview of the user interface of the Diagram Validation group on the Process tab, and a quick look at the elements in XML format. In this chapter we will explore the objects, collections, and methods in the Validation API.

Overview of the Validation objects

The Validation object model is accessed from the Visio Document object. The Validation object is only available if the code is running in Visio Premium edition, so you should check the edition, as described ...

Get Microsoft Visio 2010 Business Process Diagramming and Validation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.