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)
Usage
Sub Sub1(Wb As Workbook, _
Wn As Window)
End Sub
Dim appEvents_WindowResizeEventHandler1 As New AppEvents_WindowResizeEventHandler(AddressOf Sub1)
Syntax
Public Delegate Sub AppEvents_WindowResizeEventHandler( _
<InAttribute()> ByVal Wb As Workbook, _
<InAttribute()> ByVal Wn As Window _
)
public delegate void AppEvents_WindowResizeEventHandler(
[In] Workbook Wb,
[In] Window Wn
);
public delegate Void AppEvents_WindowResizeEventHandler(
Workbook^ Wb,
Window^ Wn
);
public delegate void AppEvents_WindowResizeEventHandler(
/*in*/Workbook Wb,
/*in*/Window Wn
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters
- Wb
The workbook displayed in the resized window.
- Wn
The resized window.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000