ClassShapeWrapping
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
ShapeWrapping()
Initializes a new instance of the ShapeWrapping class with default Square wrapping on both sides.
Declaration
public ShapeWrapping()
ShapeWrapping(ShapeWrappingType, TextWrap)
Initializes a new instance of the ShapeWrapping class with specified wrapping style and text flow direction.
Declaration
public ShapeWrapping(ShapeWrappingType wrappingType, TextWrap textWrap)
Parameters
wrappingType
Type of the wrapping.
textWrap
The text wrap.
Properties
TextWrap
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.
Declaration
public TextWrap TextWrap { get; set; }
Property Value
The text wrap.
WrappingType
Gets or sets the wrapping mode that determines the shape's bounding area for text flow, such as square, tight, or top-bottom only.
Declaration
public ShapeWrappingType WrappingType { get; set; }
Property Value
The type of the wrapping.
Methods
GetHashCode()
Serves as a hash function for a particular type.