Masters object (Visio)
Includes a Master object for each master in a document's stencil.
To retrieve a Masters collection, use the Masters property of a Document object.
The default property of a Masters collection is Item.
If your Visual Studio solution includes the Microsoft.Office.Interop.Visio reference, this collection maps to the following types:
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.