Mit Sammlungen den Überblick behalten Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
PositioniertesLayout
Eine Aufzählung, die angibt, wie ein PositionedImage im Verhältnis zum umgebenden Text dargestellt werden soll.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel: DocumentApp.PositionedLayout.ABOVE_TEXT.
Attribute
Attribut
Typ
Beschreibung
ABOVE_TEXT
Enum
Das Bild wird über dem Text platziert.
BREAK_BOTH
Enum
Das Bild schneidet den Text links und rechts ab.
BREAK_LEFT
Enum
Das Bild unterbricht den Text auf der linken Seite.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003e\u003ccode\u003ePositionedLayout\u003c/code\u003e is an enum used to define the placement of a \u003ccode\u003ePositionedImage\u003c/code\u003e relative to the surrounding text in a Google Doc.\u003c/p\u003e\n"],["\u003cp\u003eIt offers five options: \u003ccode\u003eABOVE_TEXT\u003c/code\u003e, \u003ccode\u003eBREAK_BOTH\u003c/code\u003e, \u003ccode\u003eBREAK_LEFT\u003c/code\u003e, \u003ccode\u003eBREAK_RIGHT\u003c/code\u003e, and \u003ccode\u003eWRAP_TEXT\u003c/code\u003e, controlling how the image interacts with the text flow.\u003c/p\u003e\n"],["\u003cp\u003eTo use these options, call the enum using \u003ccode\u003eDocumentApp.PositionedLayout\u003c/code\u003e followed by the desired property, like \u003ccode\u003eDocumentApp.PositionedLayout.WRAP_TEXT\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["PositionedLayout\n\nAn enumeration that specifies how to lay out a [PositionedImage](/apps-script/reference/document/positioned-image) in relation to surrounding\ntext.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nDocumentApp.PositionedLayout.ABOVE_TEXT`. \n\nProperties\n\n| Property | Type | Description |\n|---------------|--------|--------------------------------------------------|\n| `ABOVE_TEXT` | `Enum` | The image is positioned above the text. |\n| `BREAK_BOTH` | `Enum` | The image breaks the text on the left and right. |\n| `BREAK_LEFT` | `Enum` | The image breaks the text on the left. |\n| `BREAK_RIGHT` | `Enum` | The image breaks the text on the right. |\n| `WRAP_TEXT` | `Enum` | The image is wrapped by text. |"]]