Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Queries style information as JSON.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 9.3 Yes Yes Yes Yes Yes
MBS( "Text.Styles"; Text )   More


Parameter Description Example value
Text The styled text to check. "Hello World"


Returns JSON or error.


Queries style information as JSON.
Returns a JSON array with objects containing details.
Includes booleans hasColor, hasFont, hasSize and hasFace to inform you which features are available for text block.
If hasColor is true, you can get color (numeric), colorHex (string) and values in range 0 to 255 for red, blue, green and alpha.
If hasFont is true, you can get fontID, fontScript and font with the name.
If hasSize is true, the size field contains the size of the font in points.
If hasFace is true, you get the face as integer. We also provide bold, italic, underline, outline, shadow, condense, extend, strikethrough, smallCaps, superscript, subscript, wordUnderline and doubleUnderline as booleans.


Check some text:

MBS("Text.Styles"; TextColor ( "Hello" ; RGB ( 255 ; 0 ; 0 ) ))

Example result:
    "hasColor":   true,
    "color":   16711680,
    "colorHex":   "FF0000",
    "red":   255,
    "green":   0,
    "blue":   0,
    "alpha":   255,
    "hasFont":   false,
    "hasSize":   false,
    "hasFace":   false

Example Databases

Blog Entries

Release notes

Created 9th July 2019, last changed 9th July 2019

Text.SoundExGerman   -   Text.TextToHTML

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos