সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্রান্তিককরণ
সমর্থিত ধরণের চিত্র সারিবদ্ধকরণের প্রতিনিধিত্বকারী একটি enum। সারিবদ্ধকরণ প্রকারগুলি Form App.Alignment থেকে অ্যাক্সেস করা যেতে পারে।
একটি enum কল করার জন্য, আপনি তার পিতামাতার শ্রেণী, নাম এবং সম্পত্তি কল করুন। উদাহরণস্বরূপ, FormApp.Alignment.LEFT ।
// Open a form by ID and add a new image item with alignmentconstform=FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');constimg=UrlFetchApp.fetch('https://www.google.com/images/srpr/logo4w.png');form.addImageItem().setImage(img).setAlignment(FormApp.Alignment.CENTER);
[[["সহজে বোঝা যায়","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"]],["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eFormApp.Alignment\u003c/code\u003e is an enum used to define the alignment of images within a Google Form.\u003c/p\u003e\n"],["\u003cp\u003eImage alignment options include \u003ccode\u003eLEFT\u003c/code\u003e, \u003ccode\u003eCENTER\u003c/code\u003e, and \u003ccode\u003eRIGHT\u003c/code\u003e, which can be accessed using \u003ccode\u003eFormApp.Alignment.LEFT\u003c/code\u003e, \u003ccode\u003eFormApp.Alignment.CENTER\u003c/code\u003e, and \u003ccode\u003eFormApp.Alignment.RIGHT\u003c/code\u003e respectively.\u003c/p\u003e\n"],["\u003cp\u003eYou can set the alignment of an image item in your form using the \u003ccode\u003esetAlignment()\u003c/code\u003e method and passing in the desired \u003ccode\u003eFormApp.Alignment\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,["Alignment\n\nAn enum representing the supported types of image alignment. Alignment types can be accessed from\n[FormApp.Alignment](/apps-script/reference/forms/form-app#Alignment).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nFormApp.Alignment.LEFT`.\n\n```javascript\n// Open a form by ID and add a new image item with alignment\nconst form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');\nconst img = UrlFetchApp.fetch('https://www.google.com/images/srpr/logo4w.png');\nform.addImageItem().setImage(img).setAlignment(FormApp.Alignment.CENTER);\n``` \n\nProperties\n\n| Property | Type | Description |\n|----------|--------|------------------------------------------------|\n| `LEFT` | `Enum` | Align the image to the left side of the form. |\n| `CENTER` | `Enum` | Align the image to the center of the form. |\n| `RIGHT` | `Enum` | Align the image to the right side of the form. |"]]