지원되는 이미지 정렬 유형을 나타내는 enum입니다. 다음에서 정렬 유형에 액세스할 수 있습니다.
FormApp.Alignment
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
FormApp.Alignment.LEFT입니다.
// Open a form by ID and add a new image item with alignment
var form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
var img = 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"]],["최종 업데이트: 2024-09-13(UTC)"],[[["`FormApp.Alignment` is an enum used to define the alignment of images within a Google Form."],["Image alignment options include `LEFT`, `CENTER`, and `RIGHT`, which can be accessed using `FormApp.Alignment.LEFT`, `FormApp.Alignment.CENTER`, and `FormApp.Alignment.RIGHT` respectively."],["You can set the alignment of an image item in your form using the `setAlignment()` method and passing in the desired `FormApp.Alignment` property."]]],[]]