SVG_SET_FONT_STYLE

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

version 11.3


SVG_SET_FONT_STYLE (svgObject; style)

ParameterTypeDescription
svgObjectSVG_RefReference of SVG element
styleIntegerStyle of characters

Description

The SVG_SET_FONT_STYLE command can be used to specify the text style for the SVG object having the svgObject reference. If svgObject does not reference a valid element, an error is generated.

In the style parameter, you must pass one of the following values or a combination of several values:

0 = Plain
1 = Bold
2 = Italic
4 = Underline
8 = Strikethrough

See Also

SVG_SET_FONT_SIZE.


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