Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
SVG_SET_FONT_FAMILY
|
SVG_SET_FONT_FAMILY ( svgObject ; Schrift {; Schrift2 ; ... ; SchriftN} ) | ||||||||
Parameter | Typ | Beschreibung | ||||||
svgObject | SVG_Ref |
![]() |
Reference of SVG element | |||||
Schrift | String |
![]() |
Font name | |||||
The SVG_SET_FONT_FAMILY command can be used to specify the font for the SVG object having the svgObject reference. If svgObject does not reference a valid element, an error is generated.
The font parameter contains the name of the font to be used. When several names are passed, the command automatically builds the list of font family names and/or generic family names.
Passing several font names:
SVG_SET_FONT_FAMILY(svgObject;"Lucida grande";"Sans-serif")
// will build the following list: " 'Lucida grande' 'Sans-serif'"
Produkt: 4D
Thema: Text
Nummer:
65952
Erstellt: Composant 4D SVG v11.3
Geändert: 4D v12
4D SVG ( 4D v19)