
Gets or sets a value determining whether a text frame is treated as a single character or the document's text flows around the text frame. If the documents text flows around the text frame, this property also determines whether the text frame is moved with the text or fixed positioned on a page.
[C#]
public TextFrameInsertionMode InsertionMode { get; }
[Visual Basic]
Public ReadOnly Property InsertionMode As TextFrameInsertionMode
| Value | Description | |
| AsCharacter | The text frame is inserted in the text as a single character. | |
| DisplaceCompleteLines | The text frame is inserted at a certain geometrical location. The text stops at the top and continues at the bottom of the text frame. | |
| DisplaceText | The text frame is inserted at a certain geometrical location. The text flows around the text frame and empty areas at the left and right side are filled. | |
| MoveWithText | The text frame is connected with a paragraph and moved with the text. | |
| FixedOnPage | The text frame is fixed positioned on a page. |
The values of the TextFrameInsertionMode enumeration can be combined. The following combinations are possible:
DisplaceCompleteLines and MoveWithText
DisplaceCompleteLines and FixedOnPage
DisplaceText and MoveWithText
DisplaceText and FixedOnPage
AsCharacter
For all other combinations an exception is thrown.