CloseDocumentPack

Use the command CloseDocumentPack to discard the active Document Pack from the session.

The command CloseDocumentPack fails if there is no active Document Pack in the session.

Syntax

CloseDocumentPack
	KeepTree (True or False);

Parameters

KeepTree: Optional. Indicates whether the content from the Document Pack should be removed from the session folder. If this parameter is not specified, the content is removed.

If content is not removed from the session folder, the Document Pack can be activated again using the CreateDocumentPack command.