Share via


Window Object Members

InfoPath Developer Reference

Represents a window that is used in the InfoPath application.

Methods

  Name Description
Bb230080.methods(en-us,office.12).gif Activate Activates the window that is represented by the Window object.
Bb230080.methods(en-us,office.12).gif Close Closes the window that is represented by the Window object.

Properties

  Name Description
Bb230080.properties(en-us,office.12).gif Active A read-only property that returns a Boolean value that indicates whether the window associated with the Window object is the active window.
Bb230080.properties(en-us,office.12).gif Caption A read/write property that returns or sets the caption text for the window represented by the Window object. Read/write
Bb230080.properties(en-us,office.12).gif CommandBars A read-only property that returns a reference to the Microsoft Office CommandBars collection object contained in the window that is associated with the Window object. Read-only
Bb230080.properties(en-us,office.12).gif Height A read/write property of type long integer that specifies the height of the the window represented by the object, measured in points. Read/write
Bb230080.properties(en-us,office.12).gif Left A read/write property of type long integer that specifies the horizontal position of the window represented by the Window object, measured in points. Read/write
Bb230080.properties(en-us,office.12).gif MailEnvelope A read-only property that returns a reference to the MailEnvelope object associated with the window that is represented by the Window object. Read-only
Bb230080.properties(en-us,office.12).gif TaskPanes A read-only property that returns a reference to the TaskPanes collection that is associated with the Window object. Read-only
Bb230080.properties(en-us,office.12).gif Top A read/write property of type long integer that specifies the vertical position of the window represented by the Window object, measured in points. Read/write
Bb230080.properties(en-us,office.12).gif Type A read-only property that returns a long integer value that indicates the type of window that is represented by the Window object. The value returned is based on the XdWindowType enumeration. Read-only
Bb230080.properties(en-us,office.12).gif Width A read/write property of type long integer that specifies the width of the window represented by the Window object, measured in points. Read/write
Bb230080.properties(en-us,office.12).gif WindowState A read/write property of type XdWindowState that returns or sets the state of the window represented by the Window object. Read/write
Bb230080.properties(en-us,office.12).gif XDocument A read-only property that returns a reference to the XDocument object that is associated with the window that is represented by the Window object. Read-only