LOTUSSCRIPT/COM/OLE CLASSES


EditDocument method
Example

Opens the current or a specified document in a mode that you specify.

Defined in

NotesUIWorkspace

Syntax

Set notesUIDocument = notesUIWorkspace.EditDocument( [editMode] , [notesDocument] , [notesDocumentReadOnly] , [documentAnchor$] , [returnNotesUIDocument] , [newInstance] )

Parameters

editMode


notesDocument
notesDocumentReadOnly
documentAnchor$
returnNotesUIDocument
newInstance
Return value

notesUIDocument


Usage

The current document may be either of the following:


This method raises the error lsERR_LSXU13_ANCESTOR_TARGET_FRAME (4426) if it attempts to return a NotesUIDocument object for a target frame that is the ancestor of the frame containing the code. You can suppress returning the object by specifying returnNotesUIDocument as False. The document opens in the target frame but you do not have access to its NotesUIDocument object. Calling this method as a subroutine does not suppress returning the object; you must specify returnNotesUIDocument as False.

Language cross-reference

EditDocument @command in formula language

OpenDocument @command in formula language

Example
See Also