Enum HorizontalAlignment
हॉरिज़ॉन्टलअलाइनमेंट
यह एक वैल्यू है, जो किसी विजेट के हॉरिज़ॉन्टल अलाइनमेंट के बारे में बताती है.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
CardService.HorizontalAlignment.START
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
START | Enum | विजेट को वाक्य के बाईं ओर शुरू होने वाले हिस्से के साथ अलाइन करें. |
CENTER | Enum | विजेट को बीच में अलाइन करें. |
END | Enum | विजेट को वाक्य के आखिर में अलाइन करें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-02 (UTC) को अपडेट किया गया."],[[["`HorizontalAlignment` is an enum used to specify the horizontal alignment of a widget within a Google Workspace add-on."],["It offers three alignment options: `START`, `CENTER`, and `END`, allowing developers to position widgets at the beginning, middle, or end of a line or container."],["To use these options, developers call the enum property through its parent class like this: `CardService.HorizontalAlignment.START`."]]],["`HorizontalAlignment` is an enum defining how a widget aligns horizontally. It uses properties accessed via `CardService.HorizontalAlignment`. The `START` property aligns the widget to the beginning of the sentence, `CENTER` aligns it to the center, and `END` aligns it to the sentence's end. These properties are accessed as an Enum.\n"]]