CreateTable

页面布局

描述

创建具有指定行数和列数的表格,使用其他表格函数设置表格,然后使用 DrawTableRows 将表格绘制到页面上

语法

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);

参数

RowCount新表格应包含的行数
ColumnCount新表格应具有的列数

返回值

0无法创建表格。行数和列数必须大于或等于 1
Non-zero可与其他表格函数配合使用的 TableID