bBox_GetCharacterStyle ( text; position )
Parameters: test: text to be examined position: position of character to return style information for Result: a return delimited list of values, in this sequence: font name font id (specific to each instance of the FileMaker client application) font size typeface style (as text, comma delimited) RGB color + alpha (as text, comma delimited) Error: none Script Step: bBox Get Character Style [ Text; Position ]
––––––––––
First appeared in:
Examples in demo file: 2
Compatibility: WPE, WebDirect, Ubuntu, Server, macOS, Client
––––––––––
Returns the typeface and color information for character at given position in text.
A position value of -1 gives the default text style. A position index past end of text returns the attributes of the last character.
If you want the style information for an entire run of text you might want to use the built-in function GetAsCSS instead.
––––––––––
bBox Functions
bBox Wiki