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

ValueDescription
NONENo text wrapping around the shape.
INLINEThe shape remains on the same layer as text and treated as a character.
TOP_BOTTOMThe text stops at the top of the shape and restarts on the line below the shape.
SQUAREWraps text around all sides of the square bounding box of the shape.
TIGHTWraps tightly around the edges of the shape, instead of wrapping around the bounding box.
THROUGHSame as Tight, but wraps inside any parts of the shape that are open.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of WrapType values.

Methods

SignatureDescription
getName(wrapType: int) → StringReturns JAVA_STYLE string representation of integer WrapType value.
toString(wrapType: int) → StringReturns DotNetStyle string representation of integer WrapType value.
fromName(wrapTypeName: String) → intReturns integer representation by WrapType name.
getValues() → int[]Returns array of WrapType values.

See Also