Xojo Conferences
MBSOct2019CologneDE

DynaPDF Manual - Page 95

Previous Page 94   Index   Next Page 96

Table Functions
Page 95 of 766
GetNextRow
Syntax:
SI32 tblGetNextRow(
const ITBL* Table) // Table pointer
The function returns the index of the next row that will be drawn when DrawTable() is called the
next time. GetFirstRow() returns the first row index that was drawn in the previous DrawTable() call.
If the next row index equals the number of rows then the table was fully drawn.
Return value:
The next row index, a number greater or equal zero. This function cannot fail.
GetNumCols
Syntax:
SI32 tblGetNumCols(
const ITBL* Table) // Table pointer
The function returns the number of columns in the table.
GetNumRows
Syntax:
SI32 tblGetNumRows(
const ITBL* Table) // Table pointer
The function returns the number of rows in the table.
GetPDFInstance
Syntax:
void* tblGetPDFInstance(
const ITBL* Table) // Table pointer
The function returns the PDF instance that is associated with the table.
GetTableHeight
Syntax:
float tblGetTableHeight(
const ITBL* Table) // Table pointer
The function returns the full height of the table. The function must be called within an open page.
Return values:
If the function succeeds the return value is the height of the table. If the function fails the return
value is -1.
 

Previous topic: GetNextHeight

Next topic: SetBoxProperty