TX Text Control .NET Server

TextFrameInsertionMode Enumeration

Enumeration
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

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

Syntax

public enum TextFrameInsertionMode

Members

MemberValueDescription
AsCharacter1The text frame is inserted in the text as a single character.
DisplaceCompleteLines4The text frame is inserted at a certain geometrical location. The text stops at the top and continues at the bottom of the text frame.
DisplaceText8The 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.
AboveTheText524290The text frame is inserted at a certain geometrical location above the text. This means that the text frame overwrites the text.
BelowTheText262146The text frame is inserted at a certain geometrical location below the text. This means that the text overwrites the text frame.
MoveWithText65536The text frame is anchored to a paragraph and moved with the text.
FixedOnPage131072The 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}");

See Also

TextFrameCollection.Add Methods, TextFrame.InsertionMode Property.

Further Reading

  • Inserting and Printing Folding Marks Using TX Text Control –