TextFrameInsertionMode Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.dll
Description
Determines how a TextFrame can be inserted in the text. The enumeration contains the following values:
Syntax
public enum TextFrameInsertionModePublic Enum TextFrameInsertionModeMembers
| 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.
TextFrameInsertionMode value = TextFrameInsertionMode.AsCharacter;
Console.WriteLine($"Using Text Frame Insertion Mode: {value}");Dim value As TextFrameInsertionMode = TextFrameInsertionMode.AsCharacter
Console.WriteLine($"Using Text Frame Insertion Mode: {value}")See Also
TextFrameCollection.Add Methods, TextFrame.InsertionMode Property.