Enum VerticalAlignment
वर्टिकलअलाइनमेंट
एक एन्म, जो कॉलम में विजेट का वर्टिकल अलाइनमेंट सेट करता है.
यह सुविधा, Google Chat के ऐप्लिकेशन और Google Workspace के ऐड-ऑन के लिए उपलब्ध है.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
CardService.VerticleAlignment.TOP
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
CENTER | Enum | कॉन्टेंट को कंटेनर के बीच में वर्टिकल तौर पर रखता है. डिफ़ॉल्ट. |
TOP | Enum | कॉन्टेंट को कंटेनर में सबसे ऊपर वर्टिकल तौर पर रखता है. |
BOTTOM | Enum | कंटेनर में कॉन्टेंट को वर्टिकल तौर पर सबसे नीचे रखता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-30 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-30 (UTC) को अपडेट किया गया."],[[["`VerticalAlignment` is an enum used to set the vertical alignment of widgets within a column in Google Chat apps and Google Workspace Add-ons."],["It offers three alignment options: `CENTER` (default), `TOP`, and `BOTTOM`, allowing you to position content vertically within a container."],["To use it, call the enum through its parent class, name, and property, like this: `CardService.VerticleAlignment.TOP`."]]],["`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"]]