Edit

Share via


View.CollapseAllHeadings Method

Definition

Collapses all the headings in the document.

public:
 void CollapseAllHeadings();
public void CollapseAllHeadings ();
abstract member CollapseAllHeadings : unit -> unit
Public Sub CollapseAllHeadings ()

Remarks

This method corresponds to the Collapse All Headings command on the Expand/Collapse submenu of the context menu that appears when you right-click a heading.

Applies to