Class ShapeWrapping
Configures how text flows around a shape, including wrapping style and side preferences for floating shapes in document layout.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Shapes
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class ShapeWrapping
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
|
ShapeWrappingType
wrappingType
Type of the wrapping. |
|
TextWrap
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
|
TextWrap
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
|
ShapeWrappingType
The type of the wrapping. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
|
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |