Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 93

Previous Page 92   Index   Next Page 94

Table Functions
Page 93 of 750
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