Document Interface 

Represents a document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Public Class ocumentImplementation
    Implements Document
End Class
Dim ocumentImplementation1 As New ocumentImplementation()

Syntax

Public Interface Document
    Inherits _Document, DocumentEvents2_Event
public interface Document : _Document, DocumentEvents2_Event
public interface class Document : public _Document, DocumentEvents2_Event
public interface Document implements _Document, DocumentEvents2_Event
public interface Document implements _Document, , DocumentEvents2_Event

Remarks

The Document object is a member of the Documents collection. The Documents collection contains all the Document objects that are currently open in Microsoft Word.

UseDocuments(index) where index is the document name or index number to return a single Document object.

The index number represents the position of the document in the Documents collection.

Use the ActiveDocument property to refer to the document with the focus.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

Document Members