Vwa.VwaControl Class
Applies to: SharePoint Server 2010
Represents a Visio Web Access Web Part control.
Vwa.VwaControl
Remarks
You can use the openDiagram method of the VwaControl class to open a specific Visio diagram in the Visio Web Access Web Part, and the refreshDiagram method to refresh the cached data displayed in the current diagram. You can use the addHandler to add event handlers, and the clearHandlers method or the removeHandler method to delete event handlers. Use the getActivePage method to get the active diagram page, and the setActivePage method to set the active diagram page.
You can also use the getDiagramUrl, getAllPageIds, getVersion, and getDisplayMode methods to obtain information about the current diagram. Use the displayCustomMessage method to display custom messages to users, and the hideCustomMessage method to hide custom messages from users.