Go to Contents
Previous
Page
Next
Page
Contents > Functions reference (alphabetical list) > Text functions > GetAsCSS function

GetAsCSS function
Format

GetAsCSS(text)
Parameter
text - any text expression or text field
Data type returned
text
Description
Returns text, converted to the CSS (Cascading Style Sheets) format, an Internet text format similar to HTML. CSS supports more text formats than HTML, so CSS will represent what you have typed more accurately.
Note   The GetAsCSS function does not return formats that are set in the Conditional Formatting dialog box.
Example
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
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas

Contents > Functions reference (alphabetical list) > Text functions > GetAsCSS function
Previous
Page
Next
Page