IntelliCAD 11.1 Object Library
Documents Property
See Also 
Application Object : Documents Property

Description

Returns the collection of document objects.

Property type

Read-only property

Syntax

Visual Basic
Public Property Documents As Documents

Example

The following example demonstrates how to use the Documents property to return the number of documents in the Document Collection object.

Private Sub DocumentsPropExample()

     Dim myDoc As Document

     Dim nodocs As Integer

     nodocs = Application.Documents.Count - 1

     MsgBox "No. of documents = " & nodocs

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.