CloseAll Method

IntelliCAD 11.1 Object Library
CloseAll Method
See Also 
AskSave

Boolean value:

TRUE = Saves changes made since the last save operation.

FALSE = Does not save changes made since the last save operation.

Documents Collection : CloseAll Method

Description

Closes all documents in the collection and removes them from the collection.

Syntax

Visual Basic
Public Sub CloseAll( _
   Optional ByVal AskSave As Boolean = True _
) 

Parameters

AskSave

Boolean value:

TRUE = Saves changes made since the last save operation.

FALSE = Does not save changes made since the last save operation.

Example

Private Sub CloseAllMethod()

     ' This example closes all IntelliCAD documents with the CloseAll method.

     IntelliCAD.Documents.CloseAll

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.