Text Wrapping Style in WPF DOCX Editor

29 Aug 20262 minutes to read

Text wrapping refers to how images and shapes are fit with surrounding text in a document. Currently, WPF DOCX Editor has only preservation support for image and textbox shape with below wrapping styles.

In-Line with Text

In this option, the image or shape is placed on the same line as the surrounding text, like any other word or letter. The image or shape moves automatically with the text as you edit, whereas the other options denote that the image or shape stays in a fixed position while the text shifts and wraps around it.

view of image with inline wrapping style in WPF DOCX Editor

Behind

In this option, the image or shape is placed behind the text. This can be used when you need to add a watermark or background image to a document.

view of image with behind wrapping style in WPF DOCX Editor

In Front of Text

In this option, the image or shape is placed in front of the text. This can be used to place an image around some text or to add a shape that highlights part of a paragraph.

view of image with in front of text wrapping style in WPF DOCX Editor

Top and Bottom

In this option, the text wraps above and below the image or shape. No text appears to the left or right of the image or shape. This can be used for larger images or shapes that occupy most of the width in a document.

view of image with top and bottom wrapping style in WPF DOCX Editor

Square

In this option, Text wraps around the image or text box in a square shape.

view of shape with square wrapping style in WPF DOCX Editor

  1. The in front of and behind text wrapping styles are supported starting from v18.3.0.x
  2. The top and bottom wrapping style is supported starting from v19.1.0.x
  3. The Tight and Through styles are displayed like the square wrapping style starting from v19.2.0.x.

You can refer to our WPF DOCX Editor feature tour page for its groundbreaking feature representations. You can also explore our WPF DOCX Editor example to know how to render and configure the editing tool.

See also