4D v13

SVG_SET_TEXT_ANCHOR

Home

 
4D v13
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)

 
PROPERTIES 

Product: 4D
Theme: Text
Number: 65954

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: Composant 4D SVG v11.3

 
SEE ALSO 

SVG_New_textArea