Share via


View Object Members

InfoPath Developer Reference

Represents a view within an InfoPath form.

Methods

  Name Description
Bb230116.methods(en-us,office.12).gif DisableAutoUpdate Disables automatic synchronization between a form's underlying XML document and the associated View object.
Bb230116.methods(en-us,office.12).gif EnableAutoUpdate Enables automatic synchronization between a form's underlying XML document and the associated View object.
Bb230116.methods(en-us,office.12).gif 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.
Bb230116.methods(en-us,office.12).gif Export Exports the view to a file of the specified format.
Bb230116.methods(en-us,office.12).gif 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.
Bb230116.methods(en-us,office.12).gif ForceUpdate Forces synchronization between a form's underlying XML document and the associated View object.
Bb230116.methods(en-us,office.12).gif GetContextNodes Returns a reference to an XMLNodes collection that is populated with XML Document Object Model (DOM) nodes based on the current context.
Bb230116.methods(en-us,office.12).gif 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.
Bb230116.methods(en-us,office.12).gif 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.
Bb230116.methods(en-us,office.12).gif SelectText Selects the text contained in an editable field that is bound to the specified XML Document Object Model (DOM) node.
Bb230116.methods(en-us,office.12).gif SwitchView Changes the active view of an InfoPath form to a specified view.

Properties

  Name Description
Bb230116.properties(en-us,office.12).gif Name A read-only property that returns a string containing the name of the view that is represented by the View object. Read-only
Bb230116.properties(en-us,office.12).gif Window A read-only property that returns a reference to the window object associated with a view. Read-only