This documentation is archived and is not being maintained.

ApplicationEvents4_WindowSizeEventHandler Delegate 

A Delegate type used to add an event handler for the WindowSize event. The WindowSize event occurs when the application window is resized or moved.

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

'Usage
Sub Sub1(Doc As Document, _
	Wn As Window)
End Sub
Dim applicationEvents4_WindowSizeEventHandler1 As New ApplicationEvents4_WindowSizeEventHandler(AddressOf Sub1)

public delegate void ApplicationEvents4_WindowSizeEventHandler(
	[In] Document Doc, 
	[In] Window Wn
);
public delegate void ApplicationEvents4_WindowSizeEventHandler(
	/*in*/Document Doc, 
	/*in*/Window Wn
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

Doc

The document in the window being sized.

Wn

The window being sized.

Development Platforms

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

Target Platforms

Show: