Collapses all the sections in a document.
Call notesUIDocument .CollapseAllSections
A section can be on a form or in a rich-text field in a document. When you call this method, each section collapses regardless of the expand and collapse settings it has on the form or document.