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 Specifications

FileMaker 8 Product Line

Specifications and Storage Limits

Field Types and Import/Export Formats

: Calculation Functions

Working with Calculations Primer

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

Script Step Reference

: Quick Reference

FileMaker Error Codes

FileMaker Keyboard Shortcuts

FileMaker Network Ports

FileMaker Server Command Line Reference

FileMaker XML Reference

: Other Resources

Where to Go for More Information



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

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