Window Object Members
InfoPath Developer Reference |
Represents a window that is used in the InfoPath application.
Methods
Name | Description | |
---|---|---|
Activate | Activates the window that is represented by the Window object. | |
Close | Closes the window that is represented by the Window object. |
Properties
Name | Description | |
---|---|---|
Active | A read-only property that returns a Boolean value that indicates whether the window associated with the Window object is the active window. | |
Caption | A read/write property that returns or sets the caption text for the window represented by the Window object. Read/write | |
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 | |
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 | |
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 | |
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 | |
TaskPanes | A read-only property that returns a reference to the TaskPanes collection that is associated with the Window object. Read-only | |
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 | |
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 | |
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 | |
WindowState | A read/write property of type XdWindowState that returns or sets the state of the window represented by the Window object. Read/write | |
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 |