IsExpanded (RichTextSection - Java)

Read-write. Indicates whether the section is expanded.

Defined in


Data type



public boolean isExpanded()
    throws NotesException
public void setExpanded(boolean flag)
    throws NotesException

Legal values

  • true if the section is expanded
  • false if the section is collapsed
Note: For Release 6, IsExpanded is reliable only if "Don't auto expand or collapse" is set for the environment in which the code is running (Previewed, Opened for reading, Opened for editing, or Printed). This is the default setting. IsExpanded is not reliable where "Auto-expand section" or "Auto-collapse section" is set.