4D-SVG

SVG_SET_FONT_STYLE

SVG_SET_FONT_STYLE ( svgObject ; style )

Parameter Type   Description
svgObject SVG_Ref Reference of SVG element
style Integer Style 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