Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    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 )   More

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

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


DynaPDF.Table.SetCellSpacing   -   DynaPDF.Table.SetCellTemplate

Feedback: Report problem or ask question.




Links
MBS FileMaker blog