Close Function
Closes an Envision document currently opened in the Canvas Envision Creator app.
Close(force?: boolean): Promise<boolean>
Parameters
force?: booleanA Boolean, a switch to force document closure even if there are unsaved changes. The default value is
false, which means that the document should not be closed if there are unsaved changes. Setting it totruewill close the document without saving the changes.
Return value
Promise<boolean>A Promise that, if fulfilled, resolves to a Boolean:
true: the file has been successfully closed.false: the file cannot be closed for some reason, for example, there are unsaved changes in the file.
12 February 2025