4D v16

SVG_SET_TEXT_ANCHOR

Home

 
4D v16
SVG_SET_TEXT_ANCHOR

SVG_SET_TEXT_ANCHOR 


 

SVG_SET_TEXT_ANCHOR ( svgObject ; alignment ) 
Parameter Type   Description
svgObject  SVG_Ref in Reference of SVG element
alignment  Integer in Alignment

The SVG_SET_TEXT_ANCHOR command can be used to modify the alignment of the SVG object having the svgObject reference. If svgObject does not reference a valid element, an error is generated.

In the alignment parameter, you must pass one of the following values:

1 = Align default (left)
2 = Align left
3 = Center
4 = Align right
5 = Justify (only for textArea object)



See also 

SVG_New_textArea

 
PROPERTIES 

Product: 4D
Theme: Text
Number: 65954

 
HISTORY 

Created: Composant 4D SVG v11.3

 
ARTICLE USAGE

4D SVG Component ( 4D v16)