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  

DynaPDF.Table.SetCellTable

The function inserts a sub table into the specfied cell. A sub table is always a foreground object that has a strong width and height. That means, if the cell is not large enough then it will be expanded.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.Table.SetCellTable"; Table; Row; Col; HAlign; VAlign; SubTable )   More

Parameters

Parameter Description Example
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"
SubTable The identifier for the subtable. $SubTable

Result

Returns OK or error.

Description

The function inserts a sub table into the specfied cell. A sub table is always a foreground object that has a strong width and height. That means, if the cell is not large enough then it will be expanded.
Note that the function creates no copy of the table. But the plugin keeps a reference from subtable attached to parent table.

Examples

Sets a table to be used as content of a bigger table:

MBS("DynaPDF.Table.SetCellTable"; $table; $row; $col; "left"; "top"; $subtable)

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014


DynaPDF.Table.SetCellStyledText - DynaPDF.Table.SetCellTemplate

Feedback: Report problem or ask question.