شمارشی از انواع ترازبندی متن.
 برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. به عنوان مثال، DocumentApp.TextAlignment.NORMAL .
// Make the first character in the first paragraph of the active tab be // superscript. const documentTab = DocumentApp.getActiveDocument().getActiveTab().asDocumentTab(); const text = documentTab.getBody().getParagraphs()[0].editAsText(); text.setTextAlignment(0, 0, DocumentApp.TextAlignment.SUPERSCRIPT);
خواص
| اموال | تایپ کنید | توضیحات | 
|---|---|---|
| NORMAL | Enum | تراز معمولی متن | 
| SUPERSCRIPT | Enum | تراز متن بالانویس. | 
| SUBSCRIPT | Enum | تراز متن زیرنویس. |