Database Reference
In-Depth Information
The Visio Services JavaScript Mashup API lets you create a rich user interface that
combines shapes, data, and events.
The API consists of a hierarchy of classes, methods, and events, as shown in
Figure 2 - 55. To obtain the reference of the Visio Web Access web part on a page you need
to get the corresponding object, which can be accessed via the Vwa.VwaControl object.
The next level would be the Page object.
It is very important to understand that the page object in this context is the active
web drawing page that is inside VwA web part—not the .aspx page.
Note
On the page, you can have one or more shapes that can be retrieved using the
ShapeCollection object. And, finally, you can access the individual shape from the shape
collection and its properties.
Figure 4-40. Visio Services JavaScript Mashup API
To use the JavaScript Mashup API and understand it more clearly, let's begin with a
simple exercise.
 
Search WWH ::




Custom Search