16 - Working with Visio Document, Page, and Shape Objects

3 4

In the Microsoft Visio object model, the most fundamental object you work with is the Shape object. To navigate to the Shape objects, you commonly work with the Document and Page objects that precede them in the object hierarchy.

This chapter describes techniques for working with Document, Page, and Shape objects—getting and setting their properties, and invoking their methods. You can apply many of these techniques when working with other Visio objects in the object model.

For details about these objects or any objects, properties, methods, and events in the Visio object model, see the Microsoft Visio Developer Reference (on the Help menu, click Developer Reference). For a summary list of Visio objects, properties, methods, and events, see Appendix A, Properties, Methods, and Events by Object.

Note


Beginning with Visio 2000, any object that can be assigned a name (for example, a page or a shape) can have two names: a local name and a universal name. If you are developing solutions that will be localized, see Using Universal Names in Your Solution in Chapter 26, Packaging a Visio Automation Solution.



Developing Microsoft Visio Solutions 2001
Developing Microsoft Visio Solutions (Pro-Documentation)
ISBN: 0735613532
EAN: 2147483647
Year: 2004
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net