This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SVG_SET_TEXT_ANCHOR
|
SVG_SET_TEXT_ANCHOR ( svgObject ; alignment ) | ||||||||
Parameter | Type | Description | ||||||
svgObject | SVG_Ref |
![]() |
Reference of SVG element | |||||
alignment | Integer |
![]() |
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)
Product: 4D
Theme: Text
Number:
65954
Created: Composant 4D SVG v11.3
4D SVG Component ( 4D v20 R7)