IsExpanded (NotesRichTextSection - LotusScript®)

Read-write. Indicates whether the section is expanded.

Defined in


Data type



To get: flag = notesRichTextSection .IsExpanded

To set: notesRichTextSection .IsExpanded = flag

Legal values

  • True indicates that the section is expanded.
  • False indicates that 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.