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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Inserts the specified styled text into the cell.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
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.
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 ) ) ) ]
This function checks for a license.
Created 23th February 2021, last changed 23th February 2021