Enum PositionedLayout
PositionedLayout
An enumeration that specifies how to lay out a PositionedImage
in relation to surrounding
text.
To call an enum, you call its parent class, name, and property. For example,
DocumentApp.PositionedLayout.ABOVE_TEXT
.
Properties
Property | Type | Description |
ABOVE_TEXT | Enum | The image is positioned above the text. |
BREAK_BOTH | Enum | The image breaks the text on the left and right. |
BREAK_LEFT | Enum | The image breaks the text on the left. |
BREAK_RIGHT | Enum | The image breaks the text on the right. |
WRAP_TEXT | Enum | The image is wrapped by text. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`PositionedLayout` is an enum used to define the placement of a `PositionedImage` relative to the surrounding text in a Google Doc."],["It offers five options: `ABOVE_TEXT`, `BREAK_BOTH`, `BREAK_LEFT`, `BREAK_RIGHT`, and `WRAP_TEXT`, controlling how the image interacts with the text flow."],["To use these options, call the enum using `DocumentApp.PositionedLayout` followed by the desired property, like `DocumentApp.PositionedLayout.WRAP_TEXT`."]]],[]]