Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Adds an action to a cell.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 9.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Table | The identifier for the table. | $Table |
Row | The row number. Range from 0 to DynaPDF.Table.GetNumRows-1. Pass -1 for all rows. | 0 |
Col | The column number. Range from 0 to DynaPDF.Table.GetNumCols-1. Pass -1 for all columns. | 0 |
ActionHandle | The action handle | $action |
Mode | The new highlight mode. Can be None, Invert, Outline, Push or PushUpd. | "Invert" |
Returns OK or error.
Adds a go-to action for a cell in the table:
Set Variable [ $NamedDest ; Value: MBS( "DynaPDF.CreateNamedDest"; $pdf; "test"; 2; "Fit") ]
Set Variable [ $Action ; Value: MBS( "DynaPDF.CreateGoToActionEx"; $PDF; $NamedDest ) ]
Set Variable [ $r ; Value: MBS( "DynaPDF.Table.SetCellAction"; $Table; $rowNum; 0; $action; "Invert" ) ]
This function checks for a license.
Created 22nd February 2019, last changed 5th December 2019