ImageInsertionMode Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Determines how an Image can be inserted in the text. The enumeration contains the following values:
Syntax
[]
public enum ImageInsertionMode<Flags>
Public Enum ImageInsertionModeMembers
| 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 methods. |
| FixedOnPage | 131072 | The image is fixed positioned on a page. This member cannot be used with the ImageCollection.Add methods. |
Examples
The following example selects the As Character value from the Image Insertion Mode enumeration and uses it as a documented workflow choice.
ImageInsertionMode value = ImageInsertionMode.AsCharacter;
Console.WriteLine($"Using Image Insertion Mode: {value}");Dim value As ImageInsertionMode = ImageInsertionMode.AsCharacter
Console.WriteLine($"Using Image Insertion Mode: {value}")See Also
ImageCollection.Add Methods, Image.InsertionMode Property.