Method CloseAll
CloseAll(bool, bool)
Closes all documents.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
void CloseAll(bool inAsksUser, bool inSaves)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | inAsksUser | Whether to ask the user for confirmation if some documents need to be saved. |
| bool | inSaves | Whether to automatically save the documents that need it when the user is not asked for confirmation. |
Remarks
This method must not be called between StartModification(string, bool) and EndModification(bool, bool) methods calls.
This method is available since v7.6.