< 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, End: 8</Style> <Style#1>"color: #000000;font-weight: normal;font-style:normal;text-align: left;", Begin: 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 > |