CreateTable

Page layout

Description

Creates a table with the specified number of rows and columns. Use the other table functions to set up the table and then use DrawTableRows to draw the table onto the page.

Syntax

Delphi

function TPDFlib.CreateTable(RowCount, ColumnCount: Integer): Integer;

ActiveX

Function PDFlib::CreateTable(RowCount As Long, ColumnCount As Long) As Long

DLL

int DLCreateTable(int InstanceID, int RowCount, int ColumnCount);

Parameters

RowCountThe number of rows that the new table should have
ColumnCountThe number of columns that the new table should have.

Return values

0The table could not be created. Row and column count must be greater or equal to 1.
Non-zeroA TableID that can be used with the other table functions.