WrapSide

Overview

WrapSide is an enum in Aspose.Words FOSS for Java.

Specifies what side(s) of the shape or picture the text wraps around.

Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.

This enum declares 4 methods for WrapSide 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
BOTHThe document text wraps on both sides of the shape.
LEFTThe document text wraps on the left side of the shape only.
RIGHTThe document text wraps on the right side of the shape only.
LARGESTThe document text wraps on the side of the shape that is farthest from the page margin, leaving text free area on the other side of the shape.
DEFAULTDefault value is BOTH.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of WrapSide values.

Methods

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

See Also