संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेक्स्ट अलाइनमेंट
टेक्स्ट अलाइनमेंट के टाइप की गिनती.
किसी Enum को कॉल करने के लिए, आपको उसके पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल करना होता है. उदाहरण के लिए,
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);