GetAsCSS
Purpose
Returns text converted to the CSS (Cascading Style Sheets) format.
Format
GetAsCSS(text)
Parameters
text - any
text expression or text
field Data type returned
text
Originated in
FileMaker Pro 7.0
Description
GetAsCSS returns the specified text in a span element with
CSS properties.
Note The GetAsCSS function does not return formats that are set in the Conditional Formatting dialog box.
Examples
GetAsCSS(text) returns the example result shown below when the field text contains the word “Frank” and the word Frank has the following text attributes: Font = Helvetica, Font Size = 12 points, Font Color = red, Font Style = bold.
Example result:
<span style = “font-family: 'Helvetica';font-size: 12px;color:
#FF0000;font-weight: bold;text-align: left;”>Frank</span>
Related topics