Xojo Conferences
MBSOct2019CologneDE
XDCMarch2020NashvilleUS

DynaPDF Manual - Page 326

Previous Page 325   Index   Next Page 327

Function Reference
Page 326 of 770
GetActionHandle
Syntax:
SI32 pdfGetActionHandle(
const PPDF* IPDF, // Instance pointer
TObjType ObjType, // Object type which contains uses the action
UI32 ObjHandle,
// Object handle
UI32 ActIndex)
// Array index -> GetObjActionCount()
The function returns the handle of an action. To determine the number of available actions of a
specific object call GetObjActionCount(). Since the Catalog object contains no handle, the parameter
ObjHandle will be ignored for this object type.
Return values:
If the function succeeds the return value is the action handle, a value greater or equal zero. If the
function fails the return value is a negative error code.
GetActionType
Syntax:
SI32 pdfGetActionType(
const PPDF* IPDF, // Instance pointer
UI32 ActHandle)
// Action handle
typedef enum
{
atGoTo,
// Go-to action
atGoToR,
// Go-to remote action
atHide,
// Hide action
atImportData,
// Import data action
atJavaScript,
// JavaScript action
atLaunch,
// Launch action
atMovie,
// Movie action
atNamed,
// Named action
atRendition,
// Rendition action
atReset,
// Reset form action
atSetOCGState,
// Set OCG (optional content group) action
atSound,
// Sound action
atSubmit,
// Submit form action
atThread,
// Thread action
atTransition,
// Transition action
atURI
// URI action
atGoTo3DView,
// Go-to 3D view action
atGoToE,
// Go-to embedded file action
atRichMediaExec // Rich Media Execution, PDF 1.7 Extension Level 3
}TActionType;
The function returns the type of an annotation. The parameter ActHandle must be a valid action
handle. To determine the used action types of a specific object use GetActionTypeEx() instead.
 

Previous topic: Get3DAnnotStream, GetActionCount

Next topic: GetActionTypeEx, GetActiveFont