Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Inserts a template into the specified cell.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.5 | ✅ 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. Or -1 for whole table. | 0 | |
Col | The column number. Range from 0 to DynaPDF.Table.GetNumCols-1. Or -1 for whole table. | 0 | |
ForeGround | 1 = forground, 0 = background. | 1 | |
HAlign | The horizontal alignment. Can be left, center or right. | "center" | |
VAlign | The vertical alignment. Can be bottom, center or top. | "center" | |
TmplHandle | The template handle as returned by DynaPDF.ImportPageAsTemplate function. | $template | |
Width | The desired width. | 0 | Optional |
Height | The desired height | 0 | Optional |
Returns OK or error.
Import a page as template and use it as content in a table:
Set Variable [$tmpl; Value:MBS("DynaPDF.ImportPageAsTemplate"; $pdf; $i)]
Set Variable [$r; Value:MBS("DynaPDF.Table.SetCellTemplate"; $table; $rowNum; $x; 1; "center"; "center"; $tmpl; 0; 0)]
This function checks for a license.
Created 18th August 2014, last changed 18th October 2016