In This Topic
Reference Guides / JavaScript API / Actions / Document / CloseDocument

CloseDocument

In This Topic
 CloseDocument

This function closes the current documents that is loaded in the viewer.

CloseDocument: function (docuViewareID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance you want to close the document in.

Return Value

1 if error, 0 if success.