Category: Text
Syntax: GetAsCSS ( text ) |
Parameters:
textAny expression that resolves to a text string.
Data type returned: Text
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.
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.
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
: 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