asposediagram.api

Class TextXForm

Contains elements that specify positioning information about a shape's text block.

Property Getters/Setters Summary
methodgetDel()
method
setDel(value)
           A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
methodgetTxtAngle()
method
           Specifies the text block's current angle of rotation in relation to the x-axis of the shape. The default is 0 degrees.
methodgetTxtHeight()
method
           Specifies the height of the text block. The default formula, which evaluates to the height of the shape, is F="Height*1".
methodgetTxtLocPinX()
method
           Specifies the x-coordinate of the text block's center of rotation in relation to the origin of the text block. The default formula, which evaluates to the horizontal center of the text block, is F="TxtWidth*0.5".
methodgetTxtLocPinY()
method
           Specifies the y-coordinate of the text block's center of rotation relative to the origin of the text block. The default formula, which evaluates to the vertical center of the text block, is F="TxtHeight*0.5".
methodgetTxtPinX()
method
setTxtPinX(value)
           Specifies the x-coordinate of the text block's center of rotation in relation to the origin of the shape. The default formula, which evaluates to the horizontal center of the shape, is F="Width*0.5".
methodgetTxtPinY()
method
setTxtPinY(value)
           Specifies the y-coordinate of the text block's center of rotation in relation to the origin of the shape. The default formula, which evaluates to the vertical center of the shape, is F="Height*0.5".
methodgetTxtWidth()
method
           Specifies the width of the text block. The default formula, which evaluates to the width of the shape, is F="Width*1".
 
Method Summary
methoddeepClone()
Creates deep copy of this instance.
 

    • Property Getters/Setters Detail

      • getDel/setDel : int 

        int getDel() / setDel(value)
        
        A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
      • getTxtPinX/setTxtPinX : DoubleValue 

        DoubleValue getTxtPinX() / setTxtPinX(value)
        
        Specifies the x-coordinate of the text block's center of rotation in relation to the origin of the shape. The default formula, which evaluates to the horizontal center of the shape, is F="Width*0.5".
      • getTxtPinY/setTxtPinY : DoubleValue 

        DoubleValue getTxtPinY() / setTxtPinY(value)
        
        Specifies the y-coordinate of the text block's center of rotation in relation to the origin of the shape. The default formula, which evaluates to the vertical center of the shape, is F="Height*0.5".
      • getTxtWidth/setTxtWidth : DoubleValue 

        DoubleValue getTxtWidth() / setTxtWidth(value)
        
        Specifies the width of the text block. The default formula, which evaluates to the width of the shape, is F="Width*1".
      • getTxtHeight/setTxtHeight : DoubleValue 

        DoubleValue getTxtHeight() / setTxtHeight(value)
        
        Specifies the height of the text block. The default formula, which evaluates to the height of the shape, is F="Height*1".
      • getTxtLocPinX/setTxtLocPinX : DoubleValue 

        DoubleValue getTxtLocPinX() / setTxtLocPinX(value)
        
        Specifies the x-coordinate of the text block's center of rotation in relation to the origin of the text block. The default formula, which evaluates to the horizontal center of the text block, is F="TxtWidth*0.5".
      • getTxtLocPinY/setTxtLocPinY : DoubleValue 

        DoubleValue getTxtLocPinY() / setTxtLocPinY(value)
        
        Specifies the y-coordinate of the text block's center of rotation relative to the origin of the text block. The default formula, which evaluates to the vertical center of the text block, is F="TxtHeight*0.5".
      • getTxtAngle/setTxtAngle : DoubleValue 

        DoubleValue getTxtAngle() / setTxtAngle(value)
        
        Specifies the text block's current angle of rotation in relation to the x-axis of the shape. The default is 0 degrees.
    • Method Detail

      • deepClone

        Object deepClone()
        Creates deep copy of this instance.
        Returns: