SVG_SET_TEXT_ANCHOR

4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next

version 11.3


SVG_SET_TEXT_ANCHOR (svgObject; alignment)

ParameterTypeDescription
svgObjectSVG_RefReference of SVG element
alignmentIntegerAlignment

Description

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.


4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next