Google Apps Script API
    Preparing search index...

    The document service creates and opens Documents that can be edited.

    // Open a document by ID.
    var doc = DocumentApp.openById('DOCUMENT_ID_GOES_HERE');
    
    // Create and open a document.
    doc = DocumentApp.create('Document Name');
    
    Index

    Properties

    ElementType: typeof ElementType
    FontFamily: typeof FontFamily

    DO NOT USE

    GlyphType: typeof GlyphType
    HorizontalAlignment: typeof GoogleAppsScript.Document.HorizontalAlignment
    ParagraphHeading: typeof ParagraphHeading
    PositionedLayout: typeof PositionedLayout
    TextAlignment: typeof TextAlignment
    VerticalAlignment: typeof VerticalAlignment

    Methods