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

DynaPDF Manual - Page 104

Previous Page 103   Index   Next Page 105

Table Functions
Page 104 of 750
SetFontSize
Syntax:
LBOOL tblSetFontSize(
const ITBL* Table, // Table pointer
SI32 Row,
// Row index or -1
SI32 Col,
// Column index or -1
float Value)
// Font size
The function sets or changes the font size. The font size is inherited from the table, column, and row,
in this order.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetGridWidth
Syntax:
LBOOL tblSetGridWidth(
const ITBL* Table, // Table pointer
float Horz,
// Horizontal grid width or zero
float Vert)
// Vertical grid width or zero
The table grid consists of horizontal and vertical lines which are drawn in the middle of two rows or
columns. The grid lines cover always the entire width or height of the table. The line widths can be
set to different values for the horizontal and vertical lines. If no lines should be drawn then set the
value to zero. The colors of horizontal and vertical grid lines can be set with SetColor() or
SetColorEx().
Only the table supports grid lines. The parameters Row and Col of SetColor() or SetColorEx() must be
set to -1.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetPDFInstance
Syntax:
void tblSetPDFInstance(
const ITBL* Table, // Table pointer
const PPDF* IPDF)
// Pointer of a valid PDF Instance
The function changes the PDF instance that is associated with the table. The PDF instance must be
changed if the table should be drawn into another PDF instance as the one for which the table was
created.
 

Previous topic: SetFontSelMode

Next topic: SetTableWidth