Methods

equals(obj) → boolean

Determines whether this instance has the same value as another specified ShapeTextAlignment object.

Parameter

Name Type Optional Description

obj

Object

 

The

Returns

boolean true if the value of the obj parameter is the same as the value of this instance; otherwise, false. If obj is null, this method returns false.

getAutoSize()

Indicates if size of shape is adjusted automatically according to its content.

getBottomMarginPt()

Returns the bottom margin in unit of Points

getLeftMarginPt()

Returns the left margin in unit of Points

getNumberOfColumns()

Gets and sets the number of columns of text in the bounding rectangle.

getRightMarginPt()

Returns the right margin in unit of Points

getRotateTextWithShape()

Indicates whether rotating text with shape.

getRotationAngle()

Gets and sets the rotation of the shape.

getTextHorizontalOverflow()

Gets and sets the text horizontal overflow type of the text box. The value of the property is TextOverflowType integer constant.

getTextShapeType()

Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.

getTextVerticalOverflow()

Gets and sets the text vertical overflow type of the text box. The value of the property is TextOverflowType integer constant.

getTextVerticalType()

Gets and sets the text direction. The value of the property is TextVerticalType integer constant.

getTopMarginPt()

Returns the top margin in unit of Points

hashCode() → Number

Returns

Number 

isAutoMargin()

Indicates whether the margin of the text frame is automatic.

isLockedText()

Indicates whether the shape is locked when worksheet is protected. Only works when worksheet is protected.

isTextWrapped()

Gets and sets the text wrapped type of the shape which contains text.

setAutoMargin()

Indicates whether the margin of the text frame is automatic.

setAutoSize()

Indicates if size of shape is adjusted automatically according to its content.

setBottomMarginPt()

Returns the bottom margin in unit of Points

setLeftMarginPt()

Returns the left margin in unit of Points

setLockedText()

Indicates whether the shape is locked when worksheet is protected. Only works when worksheet is protected.

setNumberOfColumns()

Gets and sets the number of columns of text in the bounding rectangle.

setRightMarginPt()

Returns the right margin in unit of Points

setRotateTextWithShape()

Indicates whether rotating text with shape.

setRotationAngle()

Gets and sets the rotation of the shape.

setTextHorizontalOverflow()

Gets and sets the text horizontal overflow type of the text box. The value of the property is TextOverflowType integer constant.

setTextShapeType()

Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.

setTextVerticalOverflow()

Gets and sets the text vertical overflow type of the text box. The value of the property is TextOverflowType integer constant.

setTextVerticalType()

Gets and sets the text direction. The value of the property is TextVerticalType integer constant.

setTextWrapped()

Gets and sets the text wrapped type of the shape which contains text.

setTopMarginPt()

Returns the top margin in unit of Points