TextXForm
TextXForm class
Contains elements that specify positioning information about a shape’s text block.
Methods
| Name | Description |
|---|---|
| deepClone() | Creates deep copy of this instance. |
| getDel() | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| getTxtAngle() | Specifies the text block’s current angle of rotation in relation to the x-axis of the shape. The default is 0 degrees. |
| getTxtHeight() | Specifies the height of the text block. The default formula, which evaluates to the height of the shape, is F=“Height*1” |
| getTxtLocPinX() | Specifies the x-coordinate of the text block’s center of rotation in relation to the origin of the text block. The defau |
| getTxtLocPinY() | Specifies the y-coordinate of the text block’s center of rotation relative to the origin of the text block. The default |
| getTxtPinX() | Specifies the x-coordinate of the text block’s center of rotation in relation to the origin of the shape. The default fo |
| getTxtPinY() | Specifies the y-coordinate of the text block’s center of rotation in relation to the origin of the shape. The default fo |
| getTxtWidth() | Specifies the width of the text block. The default formula, which evaluates to the width of the shape, is F=“Width*1”. |
| setDel() | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| setTxtAngle() | Specifies the text block’s current angle of rotation in relation to the x-axis of the shape. The default is 0 degrees. |
| setTxtHeight() | Specifies the height of the text block. The default formula, which evaluates to the height of the shape, is F=“Height*1” |
| setTxtLocPinX() | Specifies the x-coordinate of the text block’s center of rotation in relation to the origin of the text block. The defau |
| setTxtLocPinY() | Specifies the y-coordinate of the text block’s center of rotation relative to the origin of the text block. The default |
| setTxtPinX() | Specifies the x-coordinate of the text block’s center of rotation in relation to the origin of the shape. The default fo |
| setTxtPinY() | Specifies the y-coordinate of the text block’s center of rotation in relation to the origin of the shape. The default fo |
| setTxtWidth() | Specifies the width of the text block. The default formula, which evaluates to the width of the shape, is F=“Width*1”. |
deepClone()
Creates deep copy of this instance.
Returns: Object — Object
getDel()
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.
getTxtAngle()
Specifies the text block’s current angle of rotation in relation to the x-axis of the shape. The default is 0 degrees.
getTxtHeight()
Specifies the height of the text block. The default formula, which evaluates to the height of the shape, is F=“Height*1”.
getTxtLocPinX()
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()
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”.
getTxtPinX()
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()
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()
Specifies the width of the text block. The default formula, which evaluates to the width of the shape, is F=“Width*1”.
setDel()
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.
setTxtAngle()
Specifies the text block’s current angle of rotation in relation to the x-axis of the shape. The default is 0 degrees.
setTxtHeight()
Specifies the height of the text block. The default formula, which evaluates to the height of the shape, is F=“Height*1”.
setTxtLocPinX()
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”.
setTxtLocPinY()
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”.
setTxtPinX()
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”.
setTxtPinY()
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”.
setTxtWidth()
Specifies the width of the text block. The default formula, which evaluates to the width of the shape, is F=“Width*1”.