Beispiel #1
0
        /// <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);
        }
Beispiel #2
0
 /// <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 });
 }