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

TableIDA TableID returned by the CreateTable function
FirstRowThe number of the first row to set. Top row is row number 1.
FirstColumnThe number of the first column to set. Left most column is column number 1.
LastRowThe number of the final row to set
LastColumnThe 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.