/// <summary> /// Gets a reference to the current active document /// </summary> /// <returns>The active document workspace object</returns> public PaintDocumentWorkspace GetActiveDocumentWorkspace() { var Result = new PaintDocumentWorkspace(); Result.DocumentInstance = WorkspaceInstance.GetMemberValue("activeDocumentWorkspace"); return(Result); }
/// <summary> /// Removes the given workspace from the AppWorkspace /// </summary> /// <param name="Workspace">The DocumentWorkspace to remove</param> public void RemoveDocumentWorkspace(PaintDocumentWorkspace Workspace) { WorkspaceInstance.CallMemberFunctionArgs("RemoveDocumentWorkspace", null, new object[] { Workspace.DocumentInstance }); }