MergeTableCells
Page layout
Description
Merges multiple cells from the specified table into one cell.
Syntax
Delphi
Function TPDFlib.MergeTableCells(TableID, FirstRow, FirstColumn, LastRow, LastColumn: Integer): Integer;
ActiveX
Function PDFlib::MergeTableCells(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long) As Long
DLL
int DLMergeTableCells(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn);
Parameters
| TableID | A TableID returned by the CreateTable function |
|---|---|
| FirstRow | The number of the first row to set. Top row is row number 1. |
| FirstColumn | The number of the first column to set. Left most column is column number 1. |
| LastRow | The number of the final row to set |
| LastColumn | The number of the final column to set |
Return values
Returns 1 when the cells were merged into one. Returns 0 when TableID does not identify a table or the given cell rectangle cannot be merged.