Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Vwa.VwaControl Class

Vwa.VwaControl Class

Last modified: August 06, 2011

Applies to: apps for SharePoint | SharePoint Server 2013

Represents a Visio Web Access Web Part control.


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.

© 2015 Microsoft