GetAsSVG()

Category: Text

Syntax: GetAsSVG ( text )

Parameters:

textAny expression that resolves to a text string.

Data type returned: Text

Description:

GetAsSVG() returns a representation of the text string, marked up in SVG (Scalable Vector Graphics) format. SVG can capture rich text formatting that has been applied to a text string.

SVG format can be used to transfer formatted text from FileMaker to other applications. You can also test an SVG-formatted version of a text string to determine what, if any, formatting has been applied to the string.

Examples:

The field myField contains two phrases, Go Team and Hello World!, each with some text formatting applied to it.

 GetAsSVG (myField)

Might return:

 
 "font-size: 36px;color: #AA0000;font-weight: bold;text-align: left;",
 Begin: 1, End: 8
 "color: #000000;font-weight: normal;font-style:normal;text-align:
 left;", Begin: 9, End: 20
 
 
 Go Team 
 Hello World!
 







FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net