com.aspose.diagram
Class TextXForm

java.lang.Object
    extended by com.aspose.diagram.TextXForm
All Implemented Interfaces:
java.lang.Cloneable

public class TextXForm 
extends java.lang.Object

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


Property Getters/Setters Summary
intgetDel()
voidsetDel(int)
           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.
DoubleValuegetTxtAngle()
voidsetTxtAngle(DoubleValue)
           Specifies the text block's current angle of rotation in relation to the x-axis of the shape. The default is 0 degrees.
DoubleValuegetTxtHeight()
voidsetTxtHeight(DoubleValue)
           Specifies the height of the text block. The default formula, which evaluates to the height of the shape, is F="Height*1".
DoubleValuegetTxtLocPinX()
voidsetTxtLocPinX(DoubleValue)
           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".
DoubleValuegetTxtLocPinY()
voidsetTxtLocPinY(DoubleValue)
           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".
DoubleValuegetTxtPinX()
voidsetTxtPinX(DoubleValue)
           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".
DoubleValuegetTxtPinY()
voidsetTxtPinY(DoubleValue)
           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".
DoubleValuegetTxtWidth()
voidsetTxtWidth(DoubleValue)
           Specifies the width of the text block. The default formula, which evaluates to the width of the shape, is F="Width*1".
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
 

Property Getters/Setters Detail

getDel/setDel

public int getDel() / public void setDel(int 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

public DoubleValue getTxtPinX() / public void setTxtPinX(DoubleValue 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

public DoubleValue getTxtPinY() / public void setTxtPinY(DoubleValue 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

public DoubleValue getTxtWidth() / public void setTxtWidth(DoubleValue 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

public DoubleValue getTxtHeight() / public void setTxtHeight(DoubleValue 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

public DoubleValue getTxtLocPinX() / public void setTxtLocPinX(DoubleValue 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

public DoubleValue getTxtLocPinY() / public void setTxtLocPinY(DoubleValue 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

public DoubleValue getTxtAngle() / public void setTxtAngle(DoubleValue 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

public java.lang.Object deepClone()
                throws java.lang.Exception
Creates deep copy of this instance.
Returns:

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