Synced
GraphEditorModule.TryOpenDocument
Section titled “GraphEditorModule.TryOpenDocument”
- Resolves an already open document without replacing its authored contents.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Graph
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Graph.GraphEditorModule.TryOpenDocument(System.Guid documentId, InnoEditor.Interactions.IEditorHistory history, out InnoEditor.Graph.GraphDocumentController? controller)Parameters
Section titled “Parameters”Parameter documentId: The persistent document identity.
Parameter history: The shared history owner for the returned controller.
Parameter controller: The joined controller, or null when the document is closed.
Returns
Section titled “Returns”True when the document is still owned by this module.