newDocument method



Closes the current document and opens a new one.

Syntax

CommandObjectObject.newDocument()

Applies to

CommandObject class.

Usage

All unsaved changes to the current document are lost when newDocument executes.

See also
GetCommandObject method