Class
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:

cs-api-definition
public class ShapeWrapping

Inheritance: objectShapeWrapping

Constructors

ShapeWrapping()

Initializes a new instance of the ShapeWrapping class with default Square wrapping on both sides.

Declaration

cs-api-definition
public ShapeWrapping()

ShapeWrapping(ShapeWrappingType, TextWrap)

Initializes a new instance of the ShapeWrapping class with specified wrapping style and text flow direction.

Declaration

cs-api-definition
public ShapeWrapping(ShapeWrappingType wrappingType, TextWrap textWrap)

Parameters

wrappingType

ShapeWrappingType

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

cs-api-definition
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

cs-api-definition
public ShapeWrappingType WrappingType { get; set; }

Property Value

ShapeWrappingType

The type of the wrapping.

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()