Method: SwitchViewMode (nMode as SPYViewModes) as Boolean
Returns true if view mode is switched.
The method sets the current view mode of the document in XMLSpy. See also Document.CurrentViewMode.
The object is no longer valid.
Invalid address for the return parameter was specified.
Invalid view mode specified.