Enum TextDirection
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
TextDirection
ข้อความบอกเส้นทางจะแสดงตามลำดับ
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SlidesApp.TextDirection.LEFT_TO_RIGHT
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
UNSUPPORTED | Enum | การวางแนวข้อความที่ไม่รองรับ |
LEFT_TO_RIGHT | Enum | ข้อความจะแสดงจากซ้ายไปขวา |
RIGHT_TO_LEFT | Enum | ข้อความจะแสดงจากขวาไปซ้าย |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eTextDirection\u003c/code\u003e determines the flow direction of text within Google Slides elements.\u003c/p\u003e\n"],["\u003cp\u003eYou can access text direction properties using the format \u003ccode\u003eSlidesApp.TextDirection.{property}\u003c/code\u003e, like \u003ccode\u003eSlidesApp.TextDirection.LEFT_TO_RIGHT\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThree properties are available: \u003ccode\u003eUNSUPPORTED\u003c/code\u003e, \u003ccode\u003eLEFT_TO_RIGHT\u003c/code\u003e, and \u003ccode\u003eRIGHT_TO_LEFT\u003c/code\u003e, defining how text is oriented.\u003c/p\u003e\n"]]],[],null,["# Enum TextDirection\n\nTextDirection\n\nThe directions text can flow in.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.TextDirection.LEFT_TO_RIGHT`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------------|--------|-----------------------------------------|\n| `UNSUPPORTED` | `Enum` | A text direction that is not supported. |\n| `LEFT_TO_RIGHT` | `Enum` | The text goes from left to right. |\n| `RIGHT_TO_LEFT` | `Enum` | The text goes from right to left. |"]]