# TextFrameInsertionMode Enumeration

> Determines how a TextFrame can be inserted in the text. The enumeration contains the following values:

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > TextFrameInsertionMode Enumeration
- **707 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textframeinsertionmode/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textframeinsertionmode/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textframeinsertionmode/enumeration/llms-full.txt

---

### Description

Determines how a [TextFrame](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textframe/llms-full.txt) can be inserted in the text. The enumeration contains the following values:

### Syntax

```csharp
public enum TextFrameInsertionMode
```

```vbnet
Public Enum TextFrameInsertionMode
```

### Members

| Member | Value | Description |
|---|---|---|
| AsCharacter | 1 | The text frame is inserted in the text as a single character. |
| DisplaceCompleteLines | 4 | 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 | 8 | 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. |
| AboveTheText | 524290 | The text frame is inserted at a certain geometrical location above the text. This means that the text frame overwrites the text. |
| BelowTheText | 262146 | The text frame is inserted at a certain geometrical location below the text. This means that the text overwrites the text frame. |
| MoveWithText | 65536 | The text frame is anchored to a paragraph and moved with the text. |
| FixedOnPage | 131072 | The text frame is fixed positioned on a page. |

### Examples

The following example selects the As Character value from the Text Frame Insertion Mode enumeration and uses it as a documented workflow choice.

```csharp
TextFrameInsertionMode value = TextFrameInsertionMode.AsCharacter;
Console.WriteLine($"Using Text Frame Insertion Mode: {value}");
```

```vbnet
Dim value As TextFrameInsertionMode = TextFrameInsertionMode.AsCharacter
Console.WriteLine($"Using Text Frame Insertion Mode: {value}")
```

### See Also

[TextFrameCollection.Add](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textframecollection/add-method/llms-full.txt) Methods, [TextFrame.InsertionMode](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textframe/insertionmode-property/llms-full.txt) Property.

---

## Nearby

- **Previous:** [TextFrameEventArgs.TextFrame Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textframeeventargs/textframe-property/llms-full.txt)
- **Next:** [TextPartCollection Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textpartcollection/llms-full.txt)
