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)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_WindowSizeEventHandler ( _
Doc As Document, _
Wn As Window _
)
'Usage
Dim instance As New ApplicationEvents4_WindowSizeEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_WindowSizeEventHandler(
Document Doc,
Window Wn
)
Parameters
- Doc
Type: Microsoft.Office.Interop.Word.Document
The document in the window being sized.
- Wn
Type: Microsoft.Office.Interop.Word.Window
The window being sized.