GetDocuments Method (IApplication)

GetDocuments Method (IApplication) | Send Feedback
See Also Example

DocumentArray[out]
  Array of open documents

Gets the open documents.

# Syntax

Visual Basic |
--- | ---
    Function GetDocuments() As System.Object

C# |
--- | ---
    System.object GetDocuments()

JavaScript |
--- | ---
    GetDocuments() : Array

COM native C++ |
--- | ---
    HRESULT GetDocuments(
       VARIANT* DocumentArray
    )

C++ |
--- | ---
    DSRESULT GetDocuments(
       dsObjectPtrArray* DocumentArray
    )

#### Parameters

DocumentArray[out] or Return Value
  Array of open documents

# Example

Fire Application and Document Events (C#)
Fire Application and Document Events (VB.NET)
Fire Application and Document Events (VBA)

# See Also

####

IApplication Interface
IApplication Members
IApplication::CloseDocument Method
IApplication::GetActiveDocument Method
IApplication::OpenDocument Method

# Availability

DraftSight V1R1