Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

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 Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.5 Yes Yes Yes Yes Yes

MBS( "DynaPDF.Table.SetCellTable"; Table; Row; Col; HAlign; VAlign; SubTable )

Parameters

Parameter Description Example value
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


DynaPDF.Table.SetCellSpacing   -   DynaPDF.Table.SetCellTemplate

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins