GetAsSVG()

 <  Day Day Up  >  

GetAsSVG()

Category: Text

Syntax: GetAsSVG ( text )

Parameters: text ”any expression that resolves to a text string.

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.

Examples:

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

 

 GetAsSVG (myField) 

might return:

 

 <StyleList> <Style#0>"font-size: 36px;color: #AA0000;font-weight: bold;text-align: left;", Begin: 1, graphics/ccc.gif End: 8</Style> <Style#1>"color: #000000;font-weight: normal;font-style:normal;text-align: left;", Begin: graphics/ccc.gif 9, End: 20</Style> </StyleList> <Data> <Span style="0">Go Team </Span> <Span style="1">Hello World!</Span> </Data> 

Comments:

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

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

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