Method Close
Close(DocumentId, bool, bool)
Closes a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
void Close(DocumentId inDocumentId, bool inAsksUser, bool inSaves)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to close. |
| bool | inAsksUser | Whether to ask the user for confirmation if the document needs to be saved. |
| bool | inSaves | Whether to automatically save the document if it needs 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.