IsExpanded (NotesRichTextSection - LotusScript®)

Read-write. Indicates whether the section is expanded.

Defined in

NotesRichTextSection

Data type

Boolean

Syntax

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.

Example