Command Reference — Edit category — Collapse All command

# Collapse All command

## Summary

Collapses the entire document while outlining is displayed.

## Description

While outlining is displayed, this command collapses the entire document. A plug-in for outlining is necessary to display the outlining.

## How to Run

- Default Menu: Edit > Outlining > Collapse All

- All Commands: Edit > Outlining > Collapse All

- Toolbar:

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_OUTLINE_COLLAPSE_ALL (4410)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4410);

### [VBScript]

    editor.ExecuteCommandByID 4410