Collapse the table of content
Expand the table of content
Expand Minimize

Document.Container Property (Visio)


Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns an IDispatch interface on the ActiveX container in which the document is contained or Nothing if the document is not in a container. Read-only.

expression .Container

expression A variable that represents a Document object.

Return Value


The interface returned is the result of querying the IOleContainer interface provided by the containing object for IDispatch.

© 2015 Microsoft