Google Apps Script API
    Preparing search index...

    A layout item that visually indicates the start of a section. Items can be accessed or created from a Form.

    // Open a form by ID and add a new section header.
    var form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
    var item = form.addSectionHeaderItem();
    item.setTitle('Title of new section');
    
    interface SectionHeaderItem {
        duplicate(): SectionHeaderItem;
        getHelpText(): string;
        getId(): number;
        getIndex(): number;
        getTitle(): string;
        getType(): ItemType;
        setHelpText(text: string): SectionHeaderItem;
        setTitle(title: string): SectionHeaderItem;
    }
    Index

    Methods