TX Text Control .NET Documentation

Images and Text Frames

TX Text Control supports three ways of inserting an image or a text frame in a document:

  • Inline, which means that it is treated in the text like a single character.
  • Anchored to a paragraph, which means that it is moved with the paragraph it is anchored to. Text can either flow around or is continued below the image or text frame. The image's or text frame's location is calculated from the top-left corner of the paragraph. If the image or text frame is selected and moved by the end-user, the anchor position is also moved. The new anchor position becomes the top-left corner of the nearest paragraph.
  • At a fixed geometric position of the document. Text can either flow around or is continued below the image or text frame. The image or text frame is not moved with the text and there is no anchor position in the text. The location is calculated from the top-left corner of the complete document.

The Image and the TextFrame Collections
Loading and Saving Images