Xojo Conferences
MBSOct2019CologneDE

DynaPDF Manual - Page 97

Previous Page 96   Index   Next Page 98

Table Functions
Page 97 of 767
The border with is inherited from columns and rows (in this order), but not from the table since the
table has its own border.
Individual values can be set to each side of a cell. Note that the properties will be not be rotated with
a cell. The left side is always left, independent of the cell orientation.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetCellAction
Syntax:
LBOOL tblSetCellAction(
const ITBL* Table,
// Table pointer
SI32 Row,
// Row index or -1
SI32 Col,
// Column index or -1
UI32 ActionHandle,
// Action handle
THighlightMode Mode) // Highlight mode
The function creates an invisible link annotation for the specified cell or table and associates the
provided action with that annotation. The result is an interactive area that executes the action if the
user clicks on the cell or table.
A cell action is always a background object that is created in the size of the background area when
the table is drawn.
Notice:
Unlike other cell objects like images, text, and so on, a cell link is no persistent object because the
action will be deleted when then PDF file in memory will be closed or when FreePDF() will be
called.
If the table should be drawn into more than one PDF file then re-create the actions and cell action
before drawing the table into the next PDF file.
Remarks:
Actions can be created with functions like CreateGoToAction(), CreateGoToRAction(), and so on.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetBoxProperty

Next topic: SetCellImageEx