Document::WindowSize Event

 

Occurs when the document window is resized or moved.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

event WindowEventHandler^ WindowSize {
	void add(WindowEventHandler^ value);
	void remove(WindowEventHandler^ value);
}

The following code example creates a handler for the WindowSize event. The event handler displays in the window caption the number of times that the window has been resized. This example is for an application-level add-in.

No code example is currently available or this language may not be supported.
Return to top
Show: