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)
Syntax
'Declaration
Function Add ( _
ByRef Window As Object _
) As Window
'Usage
Dim instance As Windows
Dim Window As Object
Dim returnValue As Window
returnValue = instance.Add(Window)
Window Add(
ref Object Window
)
Parameters
- Window
Type: System.Object%
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.
Return Value
Type: Microsoft.Office.Interop.Word.Window
Remarks
A colon (:) and a number appear in the window caption when more than one window is open for the document.