4D v16

SVG_SET_TEXT_RENDERING

Home

 
4D v16
SVG_SET_TEXT_RENDERING

SVG_SET_TEXT_RENDERING 


 

SVG_SET_TEXT_RENDERING ( svgObject ; rendering ) 
Parameter Type   Description
svgObject  SVG_Ref in Reference of text element
rendering  Text in Value of rendering

The SVG_SET_TEXT_RENDERING command is used to define the tradeoffs to make regarding the rendering of text for the text object designated by svgObject. If svgObject is not an SVG text object, an error is generated. 

The rendering parameter can have one of the following values: "auto", "optimizeSpeed", "optimizeLegibility", "geometricPrecision" or "inherit". Otherwise, an error is generated.

See Also: http://www.w3.org/TR/2001/REC-SVG-20010904/painting.html#TextRenderingProperty

 
PROPERTIES 

Product: 4D
Theme: Text
Number: 65879

 
HISTORY 

Created: 4D v12

 
ARTICLE USAGE

4D SVG Component ( 4D v16)