WrapType
Overview
WrapType is an enum in Aspose.Words FOSS for Java.
Specifies how text is wrapped around a shape or picture.
Edition status of its 11 listed members (a property and its accessor methods are listed separately, overloads once): 11 not yet exercised by a verified example.
This enum declares 4 methods for WrapType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
NONE | No text wrapping around the shape. |
INLINE | The shape remains on the same layer as text and treated as a character. |
TOP_BOTTOM | The text stops at the top of the shape and restarts on the line below the shape. |
SQUARE | Wraps text around all sides of the square bounding box of the shape. |
TIGHT | Wraps tightly around the edges of the shape, instead of wrapping around the bounding box. |
THROUGH | Same as Tight, but wraps inside any parts of the shape that are open. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of WrapType values. |
Methods
| Signature | Description |
|---|---|
getName(wrapType: int) → String | Returns JAVA_STYLE string representation of integer WrapType value. |
toString(wrapType: int) → String | Returns DotNetStyle string representation of integer WrapType value. |
fromName(wrapTypeName: String) → int | Returns integer representation by WrapType name. |
getValues() → int[] | Returns array of WrapType values. |