Enum TextAlignment

Alignement du texte

Énumération indiquant le type d'alignement de texte.

// 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);

Propriétés

PropriétéTypeDescription
NORMALEnumAlignement du texte normal.
SUPERSCRIPTEnumAlignement du texte en exposant.
SUBSCRIPTEnumAlignement du texte en indice.