GetAsCSS()

 <  Day Day Up  >  

GetAsCSS()

Category: Text

Syntax: GetAsCSS ( text )

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

Description: GetAsCSS() returns a representation of the specified text string, marked up with CSS (Cascading Style Sheet) tags. CSS can capture rich text formatting that has been applied to a text string.

Examples:

The field myField contains Go Team and has manually been formatted as follows :

Font = Helvetica, Font Size = 36 points, Font Color = red, Font Style = bold.

GetAsCSS (myField) returns

 

 <SPAN STYLE= "font-size: 36px;color: #AA0000;font-weight: bold; > text-align: left;"Go graphics/ccc.gif Team</SPAN> 

Comments:

Representing formatted text as CSS means that you can export stylized text and have it rendered properly by CSS-aware applications, such as Web browsers.

GetAsCSS() is also useful within FileMaker itself, because you can determine what special formatting, if any, has been applied to a field.

 <  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