Document Interface
Microsoft.Office.Interop.Wo ...


Word Primary Interop Assembly Reference
Document Interface
Represents a document.

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

Usage

Visual Basic
Public Class ocumentImplementation
    ImplementsEnd Class
Dim ocumentImplementation1 As New ocumentImplementation()
Syntax

Visual Basic
Public Interface Document
	Inherits _Document, DocumentEvents2_Event
C#
public interface Document : _Document, DocumentEvents2_Event
C++
public interface class Document : public _Document, DocumentEvents2_Event
J#
public interface Document implements _Document, DocumentEvents2_Event
JScript
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

Page view tracker