constbody=DocumentApp.getActiveDocument().getActiveTab().asDocumentTab().getBody();// Append table containing two cells.consttable=body.appendTable([['Top','Center','Bottom']]);// Align the first cell's contents to the top.table.getCell(0,0).setVerticalAlignment(DocumentApp.VerticalAlignment.TOP);// Align the second cell's contents to the center.table.getCell(0,1).setVerticalAlignment(DocumentApp.VerticalAlignment.CENTER);// Align the third cell's contents to the bottom.table.getCell(0,2).setVerticalAlignment(DocumentApp.VerticalAlignment.BOTTOM);
تاريخ التعديل الأخير: 2024-12-22 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2024-12-22 (حسب التوقيت العالمي المتفَّق عليه)"],[[["`VerticalAlignment` is used to define how content is vertically aligned within a table cell."],["It offers three options: `TOP`, `CENTER`, and `BOTTOM` for aligning content to the top, center, or bottom of the cell, respectively."],["You can set the vertical alignment of a table cell using `DocumentApp.VerticalAlignment` and the desired alignment property within your Apps Script code."]]],[]]