Windows Interface 

A collection of Window objects that represent all the available windows.

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

Usage

Public Class indowsImplementation
    Implements Windows
End Class
Dim indowsImplementation1 As New indowsImplementation()

Syntax

Public Interface Windows
    Inherits IEnumerable
public interface Windows : IEnumerable
public interface class Windows : public IEnumerable
public interface Windows implements IEnumerable
public interface Windows implements IEnumerable

Remarks

Use the Windows property of the Application or Document object to return the Windows collection. The Windows collection for the Application object contains all the windows in the application, whereas the Windows collection for the Document object contains only the windows that display the specified document.

Use the Add method or the NewWindow method to add a new window to the Windows collection.

Use Windows(index), where index is the window name or the index number, to return a single Window object.

The index number is the number to the left of the window name on the Window menu.

A colon (:) and a number appear in the window caption when more than one window is open for a document.

When you switch the view to print preview, a new window is created. This window is removed from the Windows collection when you close print preview.

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

Windows Members