ApplicationEvents.WindowSize Event

InfoPath Developer Reference

Occurs when any document window is resized or moved.

Version Information
 Version Added:  InfoPath 2007

Syntax

expression.WindowSize(pDocument, pWindow)

expression   An expression that returns an ApplicationEvents object.

Parameters

Name Required/Optional Data Type Description
pDocument Required XDocument A reference to the active document.
pWindow Required Window A reference to the Window object.

Return Value
Nothing

Remarks

The WindowSize event of the ApplicationEvents collection is primarily used with COM Add-ins. For more information about creating a COM Add-in for Microsoft Office InfoPath 2007, see How To: Create a COM Add-in to Add Custom Features to InfoPath.

See Also