# ImageInsertionMode Enumeration

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

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl > ImageInsertionMode Enumeration
- **759 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/imageinsertionmode/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/imageinsertionmode/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/imageinsertionmode/enumeration/llms-full.txt

---

### Description

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

### Syntax

```csharp
[Flags]
public enum ImageInsertionMode
```

```vbnet
<Flags>
Public Enum ImageInsertionMode
```

### Members

| Member | Value | Description |
|---|---|---|
| AsCharacter | 1 | The image is inserted in the text as a single character. |
| DisplaceCompleteLines | 4 | The image is inserted at a certain geometrical location. The text stops at the top and continues at the bottom of the image. |
| DisplaceText | 8 | The image is inserted at a certain geometrical location. The text flows around the image and empty areas at the left and right side are filled. |
| AboveTheText | 524290 | The image is inserted at a certain geometrical location above the text. This means that the image overwrites the text. |
| BelowTheText | 262146 | The image is inserted at a certain geometrical location below the text. This means that the text overwrites the image. |
| MoveWithText | 65536 | The image is anchored to a paragraph and moved with the text. This member cannot be used with the [ImageCollection.Add](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/imagecollection/add-method/llms-full.txt) methods. |
| FixedOnPage | 131072 | The image is fixed positioned on a page. This member cannot be used with the [ImageCollection.Add](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/imagecollection/add-method/llms-full.txt) methods. |

### Examples

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

```csharp
ImageInsertionMode value = ImageInsertionMode.AsCharacter;
Console.WriteLine($"Using Image Insertion Mode: {value}");
```

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

### See Also

[ImageCollection.Add](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/imagecollection/add-method/llms-full.txt) Methods, [Image.InsertionMode](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/image/insertionmode-property/llms-full.txt) Property.

---

## Nearby

- **Previous:** [ImageEventArgs.Image Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/imageeventargs/image-property/llms-full.txt)
- **Next:** [InlineStyle Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/inlinestyle/llms-full.txt)
