Compartilhar via


Vwa.VwaControl Class Methods

Applies to: SharePoint Server 2010

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

Methods

Name

Description

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 .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 .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.

See Also

Concepts

Vwa Namespace