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

พร็อพเพอร์ตี้

พร็อพเพอร์ตี้ประเภทคำอธิบาย
NORMALEnumการจัดข้อความปกติ
SUPERSCRIPTEnumการจัดแนวข้อความตามตัวยก
SUBSCRIPTEnumการจัดข้อความข้อความตัวห้อย