asposecells.api

Class ShapeTextAlignment

Represents the setting of shape's text alignment;

Property Getters/Setters Summary
methodgetAutoSize()
method
           Indicates if size of shape is adjusted automatically according to its content.
methodgetBottomMarginPt()
method
           Returns the bottom margin in unit of Points
methodisAutoMargin()
method
           Indicates whether the margin of the text frame is automatic.
methodisLockedText()
method
           Indicates whether the shape is locked when worksheet is protected.
methodisTextWrapped()
method
           Gets and sets the text wrapped type of the shape which contains text.
methodgetLeftMarginPt()
method
           Returns the left margin in unit of Points
methodgetNumberOfColumns()
method
           Gets and sets the number of columns of text in the bounding rectangle.
methodgetRightMarginPt()
method
           Returns the right margin in unit of Points
methodgetRotateTextWithShape()
method
           Indicates whether rotating text with shape.
methodgetRotationAngle()
method
           Gets and sets the rotation of the shape.
methodgetTextHorizontalOverflow()
method
           Gets and sets the text horizontal overflow type of the text box. The value of the property is TextOverflowType integer constant.
methodgetTextShapeType()
method
           Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.
methodgetTextVerticalOverflow()
method
           Gets and sets the text vertical overflow type of the text box. The value of the property is TextOverflowType integer constant.
methodgetTextVerticalType()
method
           Gets and sets the text direction. The value of the property is TextVerticalType integer constant.
methodgetTopMarginPt()
method
           Returns the top margin in unit of Points
 
Method Summary
methodequals(obj)
Determines whether this instance has the same value as another specified ShapeTextAlignment object.
methodhashCode()
 

    • Property Getters/Setters Detail

      • isTextWrapped/setTextWrapped : boolean 

        boolean isTextWrapped() / setTextWrapped(value)
        
        Gets and sets the text wrapped type of the shape which contains text.
      • getRotateTextWithShape/setRotateTextWithShape : boolean 

        boolean getRotateTextWithShape() / setRotateTextWithShape(value)
        
        Indicates whether rotating text with shape.
      • getTextVerticalOverflow/setTextVerticalOverflow : int 

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

        int getTextHorizontalOverflow() / setTextHorizontalOverflow(value)
        
        Gets and sets the text horizontal overflow type of the text box. The value of the property is TextOverflowType integer constant.
      • getRotationAngle/setRotationAngle : float 

        float getRotationAngle() / setRotationAngle(value)
        
        Gets and sets the rotation of the shape.
      • getTextVerticalType/setTextVerticalType : int 

        int getTextVerticalType() / setTextVerticalType(value)
        
        Gets and sets the text direction. The value of the property is TextVerticalType integer constant.
      • isLockedText/setLockedText : boolean 

        boolean isLockedText() / setLockedText(value)
        
        Indicates whether the shape is locked when worksheet is protected. Only works when worksheet is protected.
      • getAutoSize/setAutoSize : boolean 

        boolean getAutoSize() / setAutoSize(value)
        
        Indicates if size of shape is adjusted automatically according to its content.
      • getTextShapeType/setTextShapeType : int 

        int getTextShapeType() / setTextShapeType(value)
        
        Gets and set the transform type of text. The value of the property is AutoShapeType integer constant.
      • getTopMarginPt/setTopMarginPt : float 

        float getTopMarginPt() / setTopMarginPt(value)
        
        Returns the top margin in unit of Points
      • getBottomMarginPt/setBottomMarginPt : float 

        float getBottomMarginPt() / setBottomMarginPt(value)
        
        Returns the bottom margin in unit of Points
      • getLeftMarginPt/setLeftMarginPt : float 

        float getLeftMarginPt() / setLeftMarginPt(value)
        
        Returns the left margin in unit of Points
      • getRightMarginPt/setRightMarginPt : float 

        float getRightMarginPt() / setRightMarginPt(value)
        
        Returns the right margin in unit of Points
      • isAutoMargin/setAutoMargin : boolean 

        boolean isAutoMargin() / setAutoMargin(value)
        
        Indicates whether the margin of the text frame is automatic.
      • getNumberOfColumns/setNumberOfColumns : int 

        int getNumberOfColumns() / setNumberOfColumns(value)
        
        Gets and sets the number of columns of text in the bounding rectangle.
    • Method Detail

      • equals

        boolean equals(obj)
        Determines whether this instance has the same value as another specified ShapeTextAlignment object.
        Parameters:
        obj: Object - The ShapeTextAlignment object to compare with this instance.
        Returns:
        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.
      • hashCode

        int hashCode()
        Returns: