Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  


Inserts the specified styled text into the cell.

Component Version macOS Windows Linux Server FileMaker iOS SDK
DynaPDF 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.Table.SetCellStyledText"; Table; Row; Col; HAlign; VAlign; StyledText { ; LeadingFactor } )   More


Parameter Description Example Flags
Table The identifier for the table. $Table
Row The row number. Range from 0 to DynaPDF.Table.GetNumRows-1. 0
Col The column number. Range from 0 to DynaPDF.Table.GetNumCols-1. 0
HAlign The horizontal alignment. Can be left, center or right. "center"
VAlign The vertical alignment. Can be bottom, center or top. "center"
StyledText The styled text for the cell. TextColor ( "Hello World" ; RGB ( 65535 ; 0 ; 0 ) ) )
LeadingFactor If you pass a value > 0, the plugin will add \LD[] commands to styled text to set leading relative to font size. This way you define the spacing beteween lines. 1.2 Optional


Returns OK or error.


Inserts the specified styled text into the cell.
Converts styled text to DynaPDF formatting commands and add it to the cell.
Convenience function to call DynaPDF.Table.SetCellText with styled text converted through DynaPDF.ConvertStyledText internally.


Put some red text in the cell:

Set Variable [ $r ; Value: MBS("DynaPDF.Table.SetCellStyledText"; $table; $rowNum; 0; "left"; "bottom"; TextColor ( "Hello World" ; RGB ( 65535 ; 0 ; 0 ) ) ) ]

See also

Release notes

Blog Entries

Created 23th February 2021, last changed 23th February 2021

DynaPDF.Table.SetCellSpacing   -   DynaPDF.Table.SetCellTable

Feedback: Report problem or ask question.

MBS Xojo tutorial videos

Start Chat