SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface IText

    The text of a frame, without its layout.

    What a frame can always answer, including one whose layout is not modeled — text on an imported shape is read this way.

    interface IText {
        getText(): string;
    }

    Hierarchy (View Summary)

    Index
    • Returns the frame's text with its formatting stripped.

      Returns string

      • Paragraphs are separated by , and a line break inside a paragraph is also .
      • Runs and fields are concatenated in document order.
      • Blank paragraphs at the start and end are dropped; blank paragraphs between text are kept.
      • An equation reads as its linear text form.
      • A frame with nothing written in it answers ''.