Enum TextAlignment

TextAlignment

テキストの配置のタイプの列挙。

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

Properties

プロパティ種類説明
NORMALEnum通常のテキストの配置。
SUPERSCRIPTEnum上付き文字の配置。
SUBSCRIPTEnum下付き文字の配置。