Enum VerticalAlignment
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
VerticalAlignment
यह एक ऐसा enum है जो किसी कॉलम में मौजूद विजेट के वर्टिकल अलाइनमेंट को सेट करता है.
यह सुविधा, Google Chat ऐप्लिकेशन और Google Workspace ऐड-ऑन के लिए उपलब्ध है.
किसी enum को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल करें. उदाहरण के लिए,
CardService.VerticleAlignment.TOP.
प्रॉपर्टी
| प्रॉपर्टी | टाइप | ब्यौरा |
CENTER | Enum | यह कॉन्टेंट को कंटेनर के बीच में वर्टिकल तौर पर रखता है. डिफ़ॉल्ट. |
TOP | Enum | इसकी मदद से, कॉन्टेंट को कंटेनर में सबसे ऊपर वर्टिकल तौर पर रखा जाता है. |
BOTTOM | Enum | इसकी मदद से, कॉन्टेंट को कंटेनर में सबसे नीचे लंबवत रूप से रखा जाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2026-04-13 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2026-04-13 (UTC) को अपडेट किया गया."],[],["`VerticalAlignment` is an enum used in Google Chat apps and Workspace add-ons to control widget placement within a column. It offers three properties: `CENTER` (default), which centers content vertically; `TOP`, which aligns content to the top; and `BOTTOM`, which aligns content to the bottom. To use these properties, call `CardService.VerticleAlignment` followed by the desired property (e.g., `CardService.VerticleAlignment.TOP`). This allows for precise vertical positioning of elements.\n"]]