View Object Members
InfoPath Developer Reference |
Represents a view within an InfoPath form.
Methods
Name | Description | |
---|---|---|
DisableAutoUpdate | Disables automatic synchronization between a form's underlying XML document and the associated View object. | |
EnableAutoUpdate | Enables automatic synchronization between a form's underlying XML document and the associated View object. | |
ExecuteAction | Executes an InfoPath editing command against a form's underlying XML document, based on the data selected in the view that is associated with the View object. | |
Export | Exports the view to a file of the specified format. | |
ExportAsFixedFormat | Exports the view to a file of the specified format, and supports initializing a COM add-in for exporting to a fixed-format file. | |
ForceUpdate | Forces synchronization between a form's underlying XML document and the associated View object. | |
GetContextNodes | Returns a reference to an XMLNodes collection that is populated with XML Document Object Model (DOM) nodes based on the current context. | |
GetSelectedNodes | Returns a reference to an XMLNodes collection that is populated with XML Document Object Model (DOM) nodes based on the current selection of items in a view. | |
SelectNodes | Selects a range of nodes in a view based on the specified starting XML Document Object Model (DOM) node, the ending XML DOM node, and the view context. | |
SelectText | Selects the text contained in an editable field that is bound to the specified XML Document Object Model (DOM) node. | |
SwitchView | Changes the active view of an InfoPath form to a specified view. |
Properties
Name | Description | |
---|---|---|
Name | A read-only property that returns a string containing the name of the view that is represented by the View object. Read-only | |
Window | A read-only property that returns a reference to the window object associated with a view. Read-only |