Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Vwa.VwaControl Class Methods

apps for Office and SharePoint

The following table lists the methods of the Vwa.VwaControl Class class.



Vwa.VwaControl Class

Creates an instance of the VwaControl class.

Vwa.VwaControl.addHandler Method

Adds an event handler to the Visio Web Access Web Part.

Vwa.VwaControl.clearHandlers Method

Removes all event handlers from the Visio Web Access Web Part.

Vwa.VwaControl.displayCustomMessage Method

Displays a custom HTML error message in the Visio Web Access Web Part and disables interaction with the currently rendered Web drawing page.

Vwa.VwaControl.getActivePage Method

Returns a reference to the Page object that represents the currently rendered diagram page.

Vwa.VwaControl.getAllPageIds Method

Returns an array of strings that contains the names of all the pages contained within the Web drawing.

Vwa.VwaControl.getDiagramUrl Method

Returns the URL of the .vsdx, .vsdm, or .vdw file currently being rendered in the Visio Web Access Web Part.

Vwa.VwaControl.getDisplayMode Method

Returns a DisplayMode constant that specifies whether the Web drawing page is being displayed by using raster or Microsoft Silverlight technology.

Vwa.VwaControl.getVersion Method

Returns a string that represents the version of the VwaControl class.

Vwa.VwaControl.hideCustomMessage Method

Hides the custom developer-provided HTML error message and re-enables interaction with the currently rendered Web drawing page.

Vwa.VwaControl.openDiagram Method

Opens a new diagram from a published Visio .vsdx, .vsdm, or .vdw file located at the specified URL.

Vwa.VwaControl.refreshDiagram Method

Refreshes the current Web drawing page with data from the server.

Vwa.VwaControl.removeHandler Method

Removes an event handler from the Visio Web Access Web Part.

Vwa.VwaControl.setActivePage Method

Attempts to change the currently rendered Web drawing page to the one specified by pageID.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.