com.aspose.cells

Class ShapeTextAlignment

  • java.lang.Object
    • com.aspose.cells.ShapeTextAlignment
public class ShapeTextAlignment 
extends java.lang.Object

Represents the setting of shape's text alignment;

Property Getters/Setters Summary
booleangetAutoSize()
void
setAutoSize(booleanvalue)
           Indicates if size of shape is adjusted automatically according to its content.
doublegetBottomMarginPt()
void
setBottomMarginPt(doublevalue)
           Returns the bottom margin in unit of Points
booleanisAutoMargin()
void
setAutoMargin(booleanvalue)
           Indicates whether the margin of the text frame is automatic.
booleanisTextWrapped()
void
setTextWrapped(booleanvalue)
           Gets and sets the text wrapped type of the shape which contains text.
doublegetLeftMarginPt()
void
setLeftMarginPt(doublevalue)
           Returns the left margin in unit of Points
doublegetRightMarginPt()
void
setRightMarginPt(doublevalue)
           Returns the right margin in unit of Points
booleangetRotateTextWithShape()
void
           Indicates whether rotating text with shape.
doublegetRotationAngle()
void
setRotationAngle(doublevalue)
           Gets and sets the rotation of the shape.
intgetTextHorizontalOverflow()
void
           Gets and sets the text horizontal overflow type of the text box. The value of the property is TextOverflowType integer constant.
intgetTextShapeType()
void
           Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.
intgetTextVerticalOverflow()
void
           Gets and sets the text vertical overflow type of the text box. The value of the property is TextOverflowType integer constant.
intgetTextVerticalType()
void
           Gets and sets the text direction. The value of the property is TextVerticalType integer constant.
doublegetTopMarginPt()
void
setTopMarginPt(doublevalue)
           Returns the top margin in unit of Points
 

    • 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.
      • getRotateTextWithShape/setRotateTextWithShape

        public boolean getRotateTextWithShape() / 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.
      • 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.
      • getRotationAngle/setRotationAngle

        public double getRotationAngle() / 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.
      • getAutoSize/setAutoSize

        public boolean getAutoSize() / 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.
      • getTopMarginPt/setTopMarginPt

        public double getTopMarginPt() / 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
      • getLeftMarginPt/setLeftMarginPt

        public double getLeftMarginPt() / 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
      • isAutoMargin/setAutoMargin

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

    setTextWrapped

    public voidsetTextWrapped(booleanvalue)
    
    Gets and sets the text wrapped type of the shape which contains text.

    setRotateTextWithShape

    public voidsetRotateTextWithShape(booleanvalue)
    
    Indicates whether rotating text with shape.

    setTextVerticalOverflow

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

    setTextHorizontalOverflow

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

    setRotationAngle

    public voidsetRotationAngle(doublevalue)
    
    Gets and sets the rotation of the shape.

    setTextVerticalType

    public voidsetTextVerticalType(intvalue)
    
    Gets and sets the text direction. The value of the property is TextVerticalType integer constant.

    setAutoSize

    public voidsetAutoSize(booleanvalue)
    
    Indicates if size of shape is adjusted automatically according to its content.

    setTextShapeType

    public voidsetTextShapeType(intvalue)
    
    Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.

    setTopMarginPt

    public voidsetTopMarginPt(doublevalue)
    
    Returns the top margin in unit of Points

    setBottomMarginPt

    public voidsetBottomMarginPt(doublevalue)
    
    Returns the bottom margin in unit of Points

    setLeftMarginPt

    public voidsetLeftMarginPt(doublevalue)
    
    Returns the left margin in unit of Points

    setRightMarginPt

    public voidsetRightMarginPt(doublevalue)
    
    Returns the right margin in unit of Points

    setAutoMargin

    public voidsetAutoMargin(booleanvalue)
    
    Indicates whether the margin of the text frame is automatic.