Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.Table.SetCellTable

Inserts a sub table into the specified cell.

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

Inserts a sub table into the specified 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

This function checks for a license.

Created 18th August 2014, last changed 21st June 2021


DynaPDF.Table.SetCellStyledText - DynaPDF.Table.SetCellTemplate

💬 Ask a question or report a problem