4D v16

SVG_SET_FONT_STYLE

Home

 
4D v16
SVG_SET_FONT_STYLE

SVG_SET_FONT_STYLE 


 

SVG_SET_FONT_STYLE ( svgObject ; style ) 
Parameter Type   Description
svgObject  SVG_Ref in Reference of SVG element
style  Integer in Style of characters

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

 
PROPERTIES 

Product: 4D
Theme: Text
Number: 65950

 
HISTORY 

Created: Composant 4D SVG v11.3

 
ARTICLE USAGE

4D SVG Component ( 4D v16)