GetAsSVG
Returns text converted to the SVG (Scalable Vector Graphics) format.
Format
GetAsSVG ( text )
Parameters
text
- any text expression or text field
Data type returned
text
Originated in version
7.0
Description
SVG is an internet text format similar to HTML or CSS. SVG supports more text formats than HTML, so SVG will represent what you have typed more accurately.
Notes
- The GetAsSVG function does not return formats that are set in the Conditional Formatting dialog box.
Example 1
GetAsSVG ( text )
returns the result shown below when the field text contains the word "Frank" and the word Frank has the following text attributes: Font = Helvetica, Font Size = 12 points, Font Color = red, Font Style = bold.
<stylelist>
<style#0>"font-family: 'Helvetica';font-size: 12px;color:
#FF0000;font-weight: bold;text-align: left;",
Begin: 1, End: 5</style>
</stylelist>
<data>
<span style="0">Frank</span>
</data>