Class TextWrap
Specifies how text should wrap around a shape in the document.
Inheritance
Namespace: IronWord.Models.Enums
Assembly: IronWord.dll
Syntax
public sealed class TextWrap : Enum
Control how surrounding paragraph text flows around a placed image or shape by setting a TextWrap value. None keeps the object on its own line with no wrapping, Square runs text around a rectangular boundary so copy fills the space beside the object, and Tight hugs the object's contour more closely for irregular outlines. The add image guide covers placing and wrapping pictures in a document.
image.TextWrap = TextWrap.Square;Fields
None
Text does not wrap around the shape and flows without interruption.
Declaration
public const TextWrap None
Field Value
| Type | Description |
|---|---|
| TextWrap |
Square
Text wraps around the shape in a square fashion, maintaining a constant margin around the shape.
Declaration
public const TextWrap Square
Field Value
| Type | Description |
|---|---|
| TextWrap |
Tight
Text wraps tightly around the shape, conforming to its contours and minimizing the surrounding space.
Declaration
public const TextWrap Tight
Field Value
| Type | Description |
|---|---|
| TextWrap |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |