com.aspose.cells
Class ShapeTextAlignment

java.lang.Object
    extended by com.aspose.cells.ShapeTextAlignment

public class ShapeTextAlignment 
extends java.lang.Object

Represents the setting of shape's text alignment;


Property Getters/Setters Summary
booleangetAutoSize()
voidsetAutoSize(boolean)
           Indicates if size of shape is adjusted automatically according to its content.
doublegetBottomMarginPt()
voidsetBottomMarginPt(double)
           Returns the bottom margin in unit of Points
booleanisAutoMargin()
voidsetAutoMargin(boolean)
           Indicates whether the margin of the text frame is automatic.
booleanisTextWrapped()
voidsetTextWrapped(boolean)
           Gets and sets the text wrapped type of the shape which contains text.
doublegetLeftMarginPt()
voidsetLeftMarginPt(double)
           Returns the left margin in unit of Points
doublegetRightMarginPt()
voidsetRightMarginPt(double)
           Returns the right margin in unit of Points
booleangetRotateTextWithShape()
voidsetRotateTextWithShape(boolean)
           Indicates whether rotating text with shape.
doublegetRotationAngle()
voidsetRotationAngle(double)
           Gets and sets the rotation of the shape.
intgetTextHorizontalOverflow()
voidsetTextHorizontalOverflow(int)
           Gets and sets the text horizontal overflow type of the text box. The value of the property is TextOverflowType integer constant.
intgetTextShapeType()
voidsetTextShapeType(int)
           Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.
intgetTextVerticalOverflow()
voidsetTextVerticalOverflow(int)
           Gets and sets the text vertical overflow type of the text box. The value of the property is TextOverflowType integer constant.
intgetTextVerticalType()
voidsetTextVerticalType(int)
           Gets and sets the text direction. The value of the property is TextVerticalType integer constant.
doublegetTopMarginPt()
voidsetTopMarginPt(double)
           Returns the top margin in unit of Points
 
Method Summary
booleanequals(java.lang.Object obj)
          
inthashCode()
          
 

Property Getters/Setters Detail

isTextWrapped/setTextWrapped

public boolean isTextWrapped() / public void setTextWrapped(boolean value)
Gets and sets the text wrapped type of the shape which contains text.

setTextWrapped

public void setTextWrapped(boolean value)
Gets and sets the text wrapped type of the shape which contains text.

getRotateTextWithShape/setRotateTextWithShape

public boolean getRotateTextWithShape() / public void setRotateTextWithShape(boolean value)
Indicates whether rotating text with shape.

setRotateTextWithShape

public void setRotateTextWithShape(boolean value)
Indicates whether rotating text with shape.

getTextVerticalOverflow/setTextVerticalOverflow

public int getTextVerticalOverflow() / public void setTextVerticalOverflow(int value)
Gets and sets the text vertical overflow type of the text box. The value of the property is TextOverflowType integer constant.

setTextVerticalOverflow

public void setTextVerticalOverflow(int value)
Gets and sets the text vertical overflow type of the text box. The value of the property is TextOverflowType integer constant.

getTextHorizontalOverflow/setTextHorizontalOverflow

public int getTextHorizontalOverflow() / public void setTextHorizontalOverflow(int value)
Gets and sets the text horizontal overflow type of the text box. The value of the property is TextOverflowType integer constant.

setTextHorizontalOverflow

public void setTextHorizontalOverflow(int value)
Gets and sets the text horizontal overflow type of the text box. The value of the property is TextOverflowType integer constant.

getRotationAngle/setRotationAngle

public double getRotationAngle() / public void setRotationAngle(double value)
Gets and sets the rotation of the shape.

setRotationAngle

public void setRotationAngle(double value)
Gets and sets the rotation of the shape.

getTextVerticalType/setTextVerticalType

public int getTextVerticalType() / public void setTextVerticalType(int value)
Gets and sets the text direction. The value of the property is TextVerticalType integer constant.

setTextVerticalType

public void setTextVerticalType(int value)
Gets and sets the text direction. The value of the property is TextVerticalType integer constant.

getAutoSize/setAutoSize

public boolean getAutoSize() / public void setAutoSize(boolean value)
Indicates if size of shape is adjusted automatically according to its content.

setAutoSize

public void setAutoSize(boolean value)
Indicates if size of shape is adjusted automatically according to its content.

getTextShapeType/setTextShapeType

public int getTextShapeType() / public void setTextShapeType(int value)
Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.

setTextShapeType

public void setTextShapeType(int value)
Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.

getTopMarginPt/setTopMarginPt

public double getTopMarginPt() / public void setTopMarginPt(double value)
Returns the top margin in unit of Points

setTopMarginPt

public void setTopMarginPt(double value)
Returns the top margin in unit of Points

getBottomMarginPt/setBottomMarginPt

public double getBottomMarginPt() / public void setBottomMarginPt(double value)
Returns the bottom margin in unit of Points

setBottomMarginPt

public void setBottomMarginPt(double value)
Returns the bottom margin in unit of Points

getLeftMarginPt/setLeftMarginPt

public double getLeftMarginPt() / public void setLeftMarginPt(double value)
Returns the left margin in unit of Points

setLeftMarginPt

public void setLeftMarginPt(double value)
Returns the left margin in unit of Points

getRightMarginPt/setRightMarginPt

public double getRightMarginPt() / public void setRightMarginPt(double value)
Returns the right margin in unit of Points

setRightMarginPt

public void setRightMarginPt(double value)
Returns the right margin in unit of Points

isAutoMargin/setAutoMargin

public boolean isAutoMargin() / public void setAutoMargin(boolean value)
Indicates whether the margin of the text frame is automatic.

setAutoMargin

public void setAutoMargin(boolean value)
Indicates whether the margin of the text frame is automatic.

Method Detail

equals

public boolean equals(java.lang.Object obj)
Parameters:
obj -
Returns:

hashCode

public int hashCode()
Returns:

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.