VegaRise.NET
HomeAPI Reference
Back to DOM

WrapTextValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies which sides of a floating element allow text to wrap.

Remarks

Used by . The value restricts wrapping to both sides, the left side only, the right side only, or the larger of the two sides. TextWrapping.WrapText

Examples

csharp
1// 1. Both sides
2var w = WrapTextValues.bothSides;
3
csharp
1// 2. Left side only
2var w = WrapTextValues.left;
3
csharp
1// 3. Right side only
2var w = WrapTextValues.right;
3
csharp
1// 4. Largest available side
2var w = WrapTextValues.largest;
3

Fields

bothSides

Wrap text on both sides.

largest

Wrap text on the larger of the two sides.

left

Wrap text on the left side only.

right

Wrap text on the right side only.