aspose.diagram
Class TextXForm

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

Property Getters/Setters Summary
functiongetDel()
functionsetDel(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.
functiongetTxtAngle()
functionsetTxtAngle(value)
           Specifies the text block's current angle of rotation in relation to the x-axis of the shape. The default is 0 degrees.
functiongetTxtHeight()
functionsetTxtHeight(value)
           Specifies the height of the text block. The default formula, which evaluates to the height of the shape, is F="Height*1".
functiongetTxtLocPinX()
functionsetTxtLocPinX(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".
functiongetTxtLocPinY()
functionsetTxtLocPinY(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".
functiongetTxtPinX()
functionsetTxtPinX(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".
functiongetTxtPinY()
functionsetTxtPinY(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".
functiongetTxtWidth()
functionsetTxtWidth(value)
           Specifies the width of the text block. The default formula, which evaluates to the width of the shape, is F="Width*1".
 
Method Summary
functiondeepClone()
           Creates deep copy of this instance.
 

Property Getters/Setters Detail

getDel/setDel : Number 

function getDel() / function 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 

function getTxtPinX() / function 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 

function getTxtPinY() / function 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 

function getTxtWidth() / function 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 

function getTxtHeight() / function 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 

function getTxtLocPinX() / function 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 

function getTxtLocPinY() / function 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 

function getTxtAngle() / function 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

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

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