تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eAutofitType\u003c/code\u003e defines how elements, like text or shapes, automatically adjust their size within Google Slides.\u003c/p\u003e\n"],["\u003cp\u003eIt offers options like \u003ccode\u003eTEXT_AUTOFIT\u003c/code\u003e to shrink overflowing text and \u003ccode\u003eSHAPE_AUTOFIT\u003c/code\u003e to resize shapes to fit content, alongside \u003ccode\u003eNONE\u003c/code\u003e for no autofit and \u003ccode\u003eUNSUPPORTED\u003c/code\u003e for unviable types.\u003c/p\u003e\n"],["\u003cp\u003eTo use an \u003ccode\u003eAutofitType\u003c/code\u003e, specify it using the format \u003ccode\u003eSlidesApp.AutofitType.[property]\u003c/code\u003e, for example, \u003ccode\u003eSlidesApp.AutofitType.TEXT_AUTOFIT\u003c/code\u003e.\u003c/p\u003e\n"]]],["`AutofitType` defines how text behaves within a shape. It's accessed via `SlidesApp.AutofitType`. The properties include: `UNSUPPORTED` (for unsupported autofit), `NONE` (no autofit), `TEXT_AUTOFIT` (text shrinks on overflow), and `SHAPE_AUTOFIT` (shape resizes to fit text). These enums manage the behavior of text content within shapes in terms of scaling or shape adjustment.\n"],null,["# Enum AutofitType\n\nAutofitType\n\nThe autofit types.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.AutofitType.TEXT_AUTOFIT`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------------|--------|----------------------------------------|\n| `UNSUPPORTED` | `Enum` | An autofit type that is not supported. |\n| `NONE` | `Enum` | Autofit isn't applied. |\n| `TEXT_AUTOFIT` | `Enum` | Shrinks the text on overflow. |\n| `SHAPE_AUTOFIT` | `Enum` | Resizes the shape to fit the text. |"]]