Closes the currently opened Document, if any.
A DocumentClosing event is raised before the document is closed.
If the close is not canceled, all close actions added to the
ClosingEventArgsT are invoked before the document is closed.
Namespace: Spotfire.Dxp.Application
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax
C#
public bool Close()
Return Value
Type: Booleantrue if the document was closed, false otherwise. If no Document is opened when this method is called, false is returned.
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also