Documents property

From Microsoft Visio Developer Reference

Documents property

       

Returns the Documents collection for a Microsoft Visio instance.

Version added

2.0

Syntax

objsRet = object.Documents

objsRet

The Documents collection of the Application object.

object

Required. An expression that returns the Application object that owns the collection.

Remarks

You can iterate through a Documents collection by using the Count property to retrieve the number of documents in the collection. You can use the Item property to retrieve individual elements from a collection.