Share via


Container Property [Visio 2003 SDK 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.

objRet = object**.Container**

objRet     An IDispatch interface on the container.

object     Required. An expression that returns a Document object.

Version added

2000

Remarks

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

Applies to | Document object