CloseAll Method

The CloseAll method closes all documents in the collection.

Syntax

object.CloseAll(SaveChanges)

 

Parameter Type Default Description
saveChanges grfSaveTypes grfSaveChangesYes optional

 

Example

This example demonstrates how to close all of the documents without saving changes.

Docs.CloseAll(grfSaveChangesNo)

 

Used by: Documents collection