Windows.Add Method 

Returns a Window object that represents a new window of a document.

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

Usage

Dim Window As Object
Dim returnValue As Window
Dim windows1 As Windows
returnValue = windows1.Add(Window)

Syntax

Function Add( _
    <InAttribute()> Optional ByRef Window As Object _
) As Window
Window Add(
    [In, Optional] ref object Window
);
public: Window^ Add(
    &Object^ Window
);
public Window Add(
    /*in*/System.Object Window
);
function Add(
     Window : Object
) : Window;

Parameters

  • Window
    Optional Object. The Window object you want to open another window for. If this argument is omitted, a new window is opened for the active document.

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Windows Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Windows Members