ShapeWrapping
Configures how text flows around a shape, including wrapping style and side preferences for floating shapes in document layout.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Shapes
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class ShapeWrapping
Inheritance: objectShapeWrapping
Constructors
Initializes a new instance of the ShapeWrapping class with default Square wrapping on both sides.
public ShapeWrapping()
Initializes a new instance of the ShapeWrapping class with specified wrapping style and text flow direction.
public ShapeWrapping(ShapeWrappingType wrappingType, TextWrap textWrap)
Type of the wrapping.
textWrapTextWrapThe text wrap.
Methods
Properties
Gets or sets which side or sides of the shape text flows around, such as both sides, left only, right only, or the largest side.
public TextWrap TextWrap { get; set; }
The text wrap.
Gets or sets the wrapping mode that determines the shape's bounding area for text flow, such as square, tight, or top-bottom only.
public ShapeWrappingType WrappingType { get; set; }
The type of the wrapping.