AppEvents_WindowResizeEventHandler Delegate
A Delegate type used to add an event handler for the WindowResize event. The WindowResize event occurs when any workbook window is resized.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub AppEvents_WindowResizeEventHandler ( _
Wb As Workbook, _
Wn As Window _
)
'Usage
Dim instance As New AppEvents_WindowResizeEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_WindowResizeEventHandler(
Workbook Wb,
Window Wn
)
Parameters
Wb
Type: Microsoft.Office.Interop.Excel.WorkbookThe workbook displayed in the resized window.
Wn
Type: Microsoft.Office.Interop.Excel.WindowThe resized window.