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

DynaPDF Manual - Page 319

Previous Page 318   Index   Next Page 320

Function Reference
Page 319 of 750
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.
Return values:
If the function succeeds the return value is the type of the annotation (make a type cast to
TActionType to determine the action type). If the function fails the return value is a negative error
code.
 

Previous topic: GetActionHandle

Next topic: GetActiveFont