Es una enumeración del tipo de alineaciones de texto.
Para llamar a una enum, debes llamar a su clase superior, nombre y propiedad. Por ejemplo,
DocumentApp.TextAlignment.NORMAL
.
// Make the first character in the first paragraph be superscript. var text = DocumentApp.getActiveDocument().getBody().getParagraphs()[0].editAsText(); text.setTextAlignment(0, 0, DocumentApp.TextAlignment.SUPERSCRIPT);
Propiedades
Propiedad | Tipo | Descripción |
---|---|---|
NORMAL | Enum | Alineación normal del texto |
SUPERSCRIPT | Enum | La alineación del texto del superíndice. |
SUBSCRIPT | Enum | La alineación del texto del subíndice. |