Document Members
Include Protected Members
Include Inherited Members
Represents a document in the environment open for editing.
The Document type exposes the following members.
Methods
Name
Description
Moves the focus to the current item.
Infrastructure. Microsoft Internal Use Only.
Closes the open document and optionally saves it, or closes and destroys the window.
Infrastructure. Microsoft Internal Use Only.
Creates a new window in which to view the document.
Returns an interface or object that can be accessed at run time by name.
Infrastructure. Microsoft Internal Use Only.
Re-executes the last action that was undone by the Undo method or the user.
Infrastructure. Microsoft Internal Use Only.
Saves the document.
Reverses the action last performed by the user in the document.
Top
Properties
Name
Description
Gets the currently active window, or the topmost window if no others are active. Returns Nothing if no windows are open.
Gets the collection containing the Document object.
Gets the top-level extensibility object.
Returns the requested Extender if it is available for this object.
Gets the Extender category ID (CATID) for the object.
Gets a list of available Extenders for the object.
Gets the full path and name of the object's file.
Infrastructure. Microsoft Internal Use Only.
Gets a GUID string indicating the kind or type of the object.
Infrastructure. Microsoft Internal Use Only.
Gets the name of the Document.
Gets the path, without file name, for the directory containing the document.
Gets the ProjectItem object associated with the Document object.
Infrastructure. Microsoft Internal Use Only.
Returns true if the object has not been modified since last being saved or opened.
Gets an object representing the current selection on the Document.
Infrastructure. Microsoft Internal Use Only.
Infrastructure. Microsoft Internal Use Only.
Gets a Windows collection containing the windows that display in the object.
Top