Google Apps Script API
    Preparing search index...

    A segment of the text contents of a Shape or a TableCell.

    interface TextRange {
        appendParagraph(text: string): GoogleAppsScript.Slides.Paragraph;
        appendRange(textRange: TextRange): TextRange;
        appendRange(
            textRange: TextRange,
            matchSourceFormatting: boolean,
        ): TextRange;
        appendText(text: string): TextRange;
        asRenderedString(): string;
        asString(): string;
        clear(): void;
        clear(startOffset: number, endOffset: number): void;
        find(pattern: string): TextRange[];
        find(pattern: string, startOffset: number): TextRange[];
        getAutoTexts(): GoogleAppsScript.Slides.AutoText[];
        getEndIndex(): number;
        getLength(): number;
        getLinks(): TextRange[];
        getListParagraphs(): GoogleAppsScript.Slides.Paragraph[];
        getListStyle(): ListStyle;
        getParagraphs(): GoogleAppsScript.Slides.Paragraph[];
        getParagraphStyle(): GoogleAppsScript.Slides.ParagraphStyle;
        getRange(startOffset: number, endOffset: number): TextRange;
        getRuns(): TextRange[];
        getStartIndex(): number;
        getTextStyle(): GoogleAppsScript.Slides.TextStyle;
        insertParagraph(
            startOffset: number,
            text: string,
        ): GoogleAppsScript.Slides.Paragraph;
        insertRange(startOffset: number, textRange: TextRange): TextRange;
        insertRange(
            startOffset: number,
            textRange: TextRange,
            matchSourceFormatting: boolean,
        ): TextRange;
        insertText(startOffset: number, text: string): TextRange;
        isEmpty(): boolean;
        replaceAllText(findText: string, replaceText: string): number;
        replaceAllText(
            findText: string,
            replaceText: string,
            matchCase: boolean,
        ): number;
        select(): void;
        setText(newText: string): TextRange;
    }
    Index

    Methods